|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.dom.svg.SVGOMPoint
public class SVGOMPoint
An implementation of SVGPoint
that is not associated with any
attribute.
Field Summary | |
---|---|
protected float |
x
The x coordinate. |
protected float |
y
The y coordinate. |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
float |
getX()
DOM: Implements SVGPoint.getX() . |
float |
getY()
DOM: Implements SVGPoint.getY() . |
org.w3c.dom.svg.SVGPoint |
matrixTransform(org.w3c.dom.svg.SVGMatrix matrix)
DOM: Implements SVGPoint.matrixTransform(SVGMatrix) . |
static org.w3c.dom.svg.SVGPoint |
matrixTransform(org.w3c.dom.svg.SVGPoint point,
org.w3c.dom.svg.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) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected float x
protected float y
Constructor Detail |
---|
public SVGOMPoint()
0
.
public SVGOMPoint(float x, float y)
Method Detail |
---|
public float getX()
SVGPoint.getX()
.
getX
in interface org.w3c.dom.svg.SVGPoint
public void setX(float x) throws DOMException
SVGPoint.setX(float)
.
setX
in interface org.w3c.dom.svg.SVGPoint
DOMException
public float getY()
SVGPoint.getY()
.
getY
in interface org.w3c.dom.svg.SVGPoint
public void setY(float y) throws DOMException
SVGPoint.setY(float)
.
setY
in interface org.w3c.dom.svg.SVGPoint
DOMException
public org.w3c.dom.svg.SVGPoint matrixTransform(org.w3c.dom.svg.SVGMatrix matrix)
SVGPoint.matrixTransform(SVGMatrix)
.
matrixTransform
in interface org.w3c.dom.svg.SVGPoint
public static org.w3c.dom.svg.SVGPoint matrixTransform(org.w3c.dom.svg.SVGPoint point, org.w3c.dom.svg.SVGMatrix matrix)
SVGPoint
by an SVGMatrix
and returns
the new point.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |