public final class DefaultChartPoint extends Object implements IsDefaultPoint
| Modifier and Type | Method and Description |
|---|---|
String |
getBackgroundColorAsString()
Returns the background color.
|
String |
getBorderColorAsString()
Returns the border color.
|
int |
getBorderWidth()
Returns the border width.
|
double |
getHitRadius()
Returns the pixel size of the non-displayed point that reacts to mouse events.
|
String |
getHoverBackgroundColorAsString()
Returns the background color when hovered.
|
String |
getHoverBorderColorAsString()
Returns the border color when hovered.
|
int |
getHoverBorderWidth()
Returns the border width when hovered.
|
double |
getHoverRadius()
Returns the radius of the point when hovered.
|
PointStyle |
getPointStyle()
Returns the style of the point.
|
Img |
getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returns null. |
double |
getRadius()
Returns the radius of the point.
|
double |
getRotation()
Returns the point rotation (in degrees).
|
boolean |
isPointStyleAsImage()
Returns
true if the point style is set by an Img. |
public String getBackgroundColorAsString()
IsDefaultOptionsElementgetBackgroundColorAsString in interface IsDefaultOptionsElementpublic int getBorderWidth()
IsDefaultOptionsElementgetBorderWidth in interface IsDefaultOptionsElementpublic String getBorderColorAsString()
IsDefaultOptionsElementgetBorderColorAsString in interface IsDefaultOptionsElementpublic double getRadius()
IsDefaultPointgetRadius in interface IsDefaultPointpublic PointStyle getPointStyle()
IsDefaultPointStyleHandlergetPointStyle in interface IsDefaultPointStyleHandlerpublic double getHitRadius()
IsDefaultPointgetHitRadius in interface IsDefaultPointpublic double getHoverRadius()
IsDefaultPointgetHoverRadius in interface IsDefaultPointpublic int getHoverBorderWidth()
IsDefaultOptionsElementgetHoverBorderWidth in interface IsDefaultOptionsElementpublic double getRotation()
IsDefaultPointgetRotation in interface IsDefaultPointpublic boolean isPointStyleAsImage()
IsDefaultPointStyleHandlertrue if the point style is set by an Img.isPointStyleAsImage in interface IsDefaultPointStyleHandlertrue if the point style is set by an Imgpublic Img getPointStyleAsImage()
IsDefaultPointStyleHandlernull.getPointStyleAsImage in interface IsDefaultPointStyleHandlernull.public String getHoverBackgroundColorAsString()
IsDefaultOptionsElementgetHoverBackgroundColorAsString in interface IsDefaultOptionsElementpublic String getHoverBorderColorAsString()
IsDefaultOptionsElementgetHoverBorderColorAsString in interface IsDefaultOptionsElement