public final class Center
extends java.lang.Object
CanvasObjectFactory| Constructor and Description |
|---|
Center() |
| Modifier and Type | Method and Description |
|---|---|
double |
getX()
Returns the X coordinate.
|
double |
getY()
Returns the Y coordinate.
|
void |
setX(double x)
Sets the X coordinate.
|
void |
setY(double y)
Sets the Y coordinate.
|
java.lang.String |
toString() |
public double getX()
public void setX(double x)
x - the X coordinate to setpublic double getY()
public void setY(double y)
y - the Y coordinate to setpublic java.lang.String toString()
toString in class java.lang.Object