Class Radius
- java.lang.Object
-
- org.pepstock.charba.client.colors.Radius
-
public final class Radius extends Object
Contains the radius of inner and outer of an arc.
Used inside the canvas object factory.- Author:
- Andrea "Stock" Stocchero
- See Also:
CanvasObjectFactory
-
-
Constructor Summary
Constructors Constructor Description Radius()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getInner()
Returns the inner radius of arc.double
getOuter()
Returns the outer radius if an arc.void
setInner(double inner)
Sets the inner radius of arc.void
setOuter(double outer)
Sets the outer radius if an arc.String
toString()
-
-
-
Method Detail
-
getInner
public double getInner()
Returns the inner radius of arc.- Returns:
- the inner radius of arc
-
setInner
public void setInner(double inner)
Sets the inner radius of arc.- Parameters:
inner
- the inner radius of arc
-
getOuter
public double getOuter()
Returns the outer radius if an arc.- Returns:
- the outer radius if an arc
-
setOuter
public void setOuter(double outer)
Sets the outer radius if an arc.- Parameters:
outer
- the outer radius if an arc to set
-
-