public final class Center extends 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.
|
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 set