Pointpublic class Point extends Object implements org.w3c.dom.svg.SVGPointThis class represents an SVGPoint datatype, identified by
its x and y components. |
Fields Summary |
---|
private float | xThe x-axis coordinate. | private float | yThe y-axis coordinate. |
Constructors Summary |
---|
public Point(float x, float y)Constructs an SVGPoint with given X and Y
coordinates.
this.x = x;
this.y = y;
|
Methods Summary |
---|
public float | getX()
return x;
| public float | getY()
return y;
| public void | setX(float value)
x = value;
| public void | setY(float value)
y = value;
|
|