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
An
SVGPoint
in the list.-
Field Summary
FieldsFields inherited from class org.apache.batik.dom.svg.AbstractSVGItem
itemStringValue, parent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
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
-
Field Details
-
x
protected float xThe x value. -
y
protected float yThe y value.
-
-
Constructor Details
-
SVGPointItem
public SVGPointItem(float x, float y) Creates a new SVGPointItem.
-
-
Method Details
-
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
-