Package org.apache.batik.dom.svg
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
AnSVGPoint
in the list.
-
-
Field Summary
Fields Modifier and Type Field Description protected float
x
The x value.protected float
y
The y value.-
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGItem
itemStringValue, parent
-
-
Constructor Summary
Constructors Constructor Description SVGPointItem(float x, float y)
Creates a new SVGPointItem.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getStringValue()
Return a String representation of this SVGPoint.float
getX()
DOM: ImplementsSVGPoint.getX()
.float
getY()
DOM: ImplementsSVGPoint.getY()
.org.w3c.dom.svg.SVGPoint
matrixTransform(org.w3c.dom.svg.SVGMatrix matrix)
DOM: ImplementsSVGPoint.matrixTransform(SVGMatrix)
.void
setX(float x)
DOM: ImplementsSVGPoint.setX(float)
.void
setY(float y)
DOM: ImplementsSVGPoint.setY(float)
.-
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGItem
getParent, getValueAsString, resetAttribute, setParent
-
-
-
-
Method Detail
-
getStringValue
protected java.lang.String getStringValue()
Return a String representation of this SVGPoint.- Specified by:
getStringValue
in classAbstractSVGItem
-
getX
public float getX()
DOM: ImplementsSVGPoint.getX()
.- Specified by:
getX
in interfaceorg.w3c.dom.svg.SVGPoint
-
getY
public float getY()
DOM: ImplementsSVGPoint.getY()
.- Specified by:
getY
in interfaceorg.w3c.dom.svg.SVGPoint
-
setX
public void setX(float x)
DOM: ImplementsSVGPoint.setX(float)
.- Specified by:
setX
in interfaceorg.w3c.dom.svg.SVGPoint
-
setY
public void setY(float y)
DOM: ImplementsSVGPoint.setY(float)
.- Specified by:
setY
in interfaceorg.w3c.dom.svg.SVGPoint
-
matrixTransform
public org.w3c.dom.svg.SVGPoint matrixTransform(org.w3c.dom.svg.SVGMatrix matrix)
DOM: ImplementsSVGPoint.matrixTransform(SVGMatrix)
.- Specified by:
matrixTransform
in interfaceorg.w3c.dom.svg.SVGPoint
-
-