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 doublegetX()Returns the X coordinate.doublegetY()Returns the Y coordinate.voidsetX(double x)Sets the X coordinate.voidsetY(double y)Sets the Y coordinate.StringtoString()
-
-
-
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
-
-