Class SVGPointItem

java.lang.Object
org.apache.batik.dom.svg.AbstractSVGItem
org.apache.batik.dom.svg.SVGPointItem
All Implemented Interfaces:
SVGItem, org.w3c.dom.svg.SVGPoint

public class SVGPointItem extends AbstractSVGItem implements org.w3c.dom.svg.SVGPoint
An SVGPoint in the list.
  • Field Details

    • x

      protected float x
      The x value.
    • y

      protected float y
      The y value.
  • Constructor Details

    • SVGPointItem

      public SVGPointItem(float x, float y)
      Creates a new SVGPointItem.
  • Method Details

    • getStringValue

      protected String getStringValue()
      Return a String representation of this SVGPoint.
      Specified by:
      getStringValue in class AbstractSVGItem
    • getX

      public float getX()
      DOM: Implements SVGPoint.getX().
      Specified by:
      getX in interface org.w3c.dom.svg.SVGPoint
    • getY

      public float getY()
      DOM: Implements SVGPoint.getY().
      Specified by:
      getY in interface org.w3c.dom.svg.SVGPoint
    • setX

      public void setX(float x)
      DOM: Implements SVGPoint.setX(float).
      Specified by:
      setX in interface org.w3c.dom.svg.SVGPoint
    • setY

      public void setY(float y)
      DOM: Implements SVGPoint.setY(float).
      Specified by:
      setY in interface org.w3c.dom.svg.SVGPoint
    • matrixTransform

      public org.w3c.dom.svg.SVGPoint matrixTransform(org.w3c.dom.svg.SVGMatrix matrix)
      DOM: Implements SVGPoint.matrixTransform(SVGMatrix).
      Specified by:
      matrixTransform in interface org.w3c.dom.svg.SVGPoint