Interface IsDefaultPoint
-
- All Superinterfaces:
IsDefaultOptionsElement
,IsDefaultPointStyleHandler
- All Known Implementing Classes:
DefaultChartPoint
,DefaultPoint
,Point
public interface IsDefaultPoint extends IsDefaultOptionsElement, IsDefaultPointStyleHandler
Interface to define point object defaults.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getHitRadius()
Returns the pixel size of the non-displayed point that reacts to mouse events.double
getHoverRadius()
Returns the radius of the point when hovered.double
getRadius()
Returns the radius of the point.double
getRotation()
Returns the point rotation (in degrees).-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultOptionsElement
getBackgroundColorAsString, getBorderColorAsString, getBorderWidth, getHoverBackgroundColorAsString, getHoverBorderColorAsString, getHoverBorderWidth
-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultPointStyleHandler
getPointStyle, getPointStyleAsCanvas, getPointStyleAsImage, getPointStyleType
-
-
-
-
Method Detail
-
getRadius
double getRadius()
Returns the radius of the point.- Returns:
- the radius of the point
-
getHitRadius
double getHitRadius()
Returns the pixel size of the non-displayed point that reacts to mouse events.- Returns:
- the pixel size of the non-displayed point.
-
getHoverRadius
double getHoverRadius()
Returns the radius of the point when hovered.- Returns:
- the radius of the point when hovered.
-
getRotation
double getRotation()
Returns the point rotation (in degrees).- Returns:
- the point rotation (in degrees).
-
-