Package org.apache.batik.dom.svg
Class SVGOMPoint
- java.lang.Object
-
- org.apache.batik.dom.svg.SVGOMPoint
-
- All Implemented Interfaces:
org.w3c.dom.svg.SVGPoint
- Direct Known Subclasses:
SVGTextContentSupport.SVGTextPoint
public class SVGOMPoint extends java.lang.Object implements org.w3c.dom.svg.SVGPoint
An implementation ofSVGPoint
that is not associated with any attribute.
-
-
Constructor Summary
Constructors Constructor Description SVGOMPoint()
Creates a new SVGOMPoint with coordinates set to0
.SVGOMPoint(float x, float y)
Creates a new SVGOMPoint with coordinates set to the specified values.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
.static org.w3c.dom.svg.SVGPoint
matrixTransform(org.w3c.dom.svg.SVGPoint point, org.w3c.dom.svg.SVGMatrix matrix)
Transforms anSVGPoint
by anSVGMatrix
and returns the new point.void
setX(float x)
DOM: ImplementsSVGPoint.setX(float)
.void
setY(float y)
DOM: ImplementsSVGPoint.setY(float)
.
-
-
-
Method Detail
-
getX
public float getX()
DOM: ImplementsSVGPoint.getX()
.- Specified by:
getX
in interfaceorg.w3c.dom.svg.SVGPoint
-
setX
public void setX(float x) throws org.w3c.dom.DOMException
DOM: ImplementsSVGPoint.setX(float)
.- Specified by:
setX
in interfaceorg.w3c.dom.svg.SVGPoint
- Throws:
org.w3c.dom.DOMException
-
getY
public float getY()
DOM: ImplementsSVGPoint.getY()
.- Specified by:
getY
in interfaceorg.w3c.dom.svg.SVGPoint
-
setY
public void setY(float y) throws org.w3c.dom.DOMException
DOM: ImplementsSVGPoint.setY(float)
.- Specified by:
setY
in interfaceorg.w3c.dom.svg.SVGPoint
- Throws:
org.w3c.dom.DOMException
-
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
-
matrixTransform
public static org.w3c.dom.svg.SVGPoint matrixTransform(org.w3c.dom.svg.SVGPoint point, org.w3c.dom.svg.SVGMatrix matrix)
Transforms anSVGPoint
by anSVGMatrix
and returns the new point.
-
-