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.SVGPointAn implementation ofSVGPointthat is not associated with any attribute.- Version:
- $Id: SVGOMPoint.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
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 floatgetX()DOM: ImplementsSVGPoint.getX().floatgetY()DOM: ImplementsSVGPoint.getY().org.w3c.dom.svg.SVGPointmatrixTransform(org.w3c.dom.svg.SVGMatrix matrix)DOM: ImplementsSVGPoint.matrixTransform(SVGMatrix).static org.w3c.dom.svg.SVGPointmatrixTransform(org.w3c.dom.svg.SVGPoint point, org.w3c.dom.svg.SVGMatrix matrix)Transforms anSVGPointby anSVGMatrixand returns the new point.voidsetX(float x)DOM: ImplementsSVGPoint.setX(float).voidsetY(float y)DOM: ImplementsSVGPoint.setY(float).
-
-
-
Method Detail
-
getX
public float getX()
DOM: ImplementsSVGPoint.getX().- Specified by:
getXin interfaceorg.w3c.dom.svg.SVGPoint
-
setX
public void setX(float x) throws org.w3c.dom.DOMExceptionDOM: ImplementsSVGPoint.setX(float).- Specified by:
setXin interfaceorg.w3c.dom.svg.SVGPoint- Throws:
org.w3c.dom.DOMException
-
getY
public float getY()
DOM: ImplementsSVGPoint.getY().- Specified by:
getYin interfaceorg.w3c.dom.svg.SVGPoint
-
setY
public void setY(float y) throws org.w3c.dom.DOMExceptionDOM: ImplementsSVGPoint.setY(float).- Specified by:
setYin 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:
matrixTransformin 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 anSVGPointby anSVGMatrixand returns the new point.
-
-