public class SVGOMPoint
extends java.lang.Object
SVGPoint
that is not associated with any
attribute.Modifier and Type | Field and Description |
---|---|
protected float |
x
The x coordinate.
|
protected float |
y
The y coordinate.
|
Constructor and Description |
---|
SVGOMPoint()
Creates a new SVGOMPoint with coordinates set to
0 . |
SVGOMPoint(float x,
float y)
Creates a new SVGOMPoint with coordinates set to the specified values.
|
Modifier and Type | Method and Description |
---|---|
float |
getX()
DOM: Implements
SVGPoint#getX() . |
float |
getY()
DOM: Implements
SVGPoint#getY() . |
SVGPoint |
matrixTransform(SVGMatrix matrix)
DOM: Implements
SVGPoint#matrixTransform(SVGMatrix) . |
static SVGPoint |
matrixTransform(SVGPoint point,
SVGMatrix matrix)
Transforms an
SVGPoint by an SVGMatrix and returns
the new point. |
void |
setX(float x)
DOM: Implements
SVGPoint#setX(float) . |
void |
setY(float y)
DOM: Implements
SVGPoint#setY(float) . |
public SVGOMPoint()
0
.public SVGOMPoint(float x, float y)
public float getX()
SVGPoint#getX()
.public void setX(float x) throws DOMException
SVGPoint#setX(float)
.DOMException
public float getY()
SVGPoint#getY()
.public void setY(float y) throws DOMException
SVGPoint#setY(float)
.DOMException
public SVGPoint matrixTransform(SVGMatrix matrix)
SVGPoint#matrixTransform(SVGMatrix)
.public static SVGPoint matrixTransform(SVGPoint point, SVGMatrix matrix)
SVGPoint
by an SVGMatrix
and returns
the new point.Copyright ? 2009 Apache Software Foundation. All Rights Reserved.