Class Center
- java.lang.Object
-
- org.pepstock.charba.client.colors.Center
-
public final class Center extends Object
Contains the coordinates of a center of arc.
Used inside the canvas object factory.- Author:
- Andrea "Stock" Stocchero
- See Also:
CanvasObjectFactory
-
-
Constructor Summary
Constructors Constructor Description Center()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
getX
public double getX()
Returns the X coordinate.- Returns:
- the X coordinate
-
setX
public void setX(double x)
Sets the X coordinate.- Parameters:
x
- the X coordinate to set
-
getY
public double getY()
Returns the Y coordinate.- Returns:
- the Y coordinate
-
setY
public void setY(double y)
Sets the Y coordinate.- Parameters:
y
- the Y coordinate to set
-
-