public final class Point extends AbstractElement<IsDefaultPoint> implements IsDefaultPoint
| Modifier and Type | Method and Description |
|---|---|
double |
getHitRadius()
Returns the pixel size of the non-displayed point that reacts to mouse events.
|
int |
getHoverBorderWidth()
Returns the border width of point when hovered.
|
double |
getHoverRadius()
Returns the radius of the point when hovered.
|
PointStyle |
getPointStyle()
Returns the style of the point.
|
ImageElement |
getPointStyleAsImages()
Returns the style of the point as image.
|
double |
getRadius()
Returns the radius of the point when hovered.
|
double |
getRotation()
Returns the point rotation (in degrees).
|
void |
setHitRadius(double hitRadius)
Sets the pixel size of the non-displayed point that reacts to mouse events.
|
void |
setHoverBorderWidth(int hoverBorderWidth)
Sets the border width of point when hovered.
|
void |
setHoverRadius(double hoverRadius)
Sets the radius of the point when hovered.
|
void |
setPointStyle(Image pointStyle)
Sets the style of the point as image.
|
void |
setPointStyle(ImageElement pointStyle)
Sets the style of the point as image.
|
void |
setPointStyle(ImageResource pointStyle)
Sets the style of the point as image.
|
void |
setPointStyle(PointStyle pointStyle)
Sets the style of the point.
|
void |
setRadius(double radius)
Sets the radius of the point shape.
|
void |
setRotation(double rotation)
Sets the point rotation (in degrees).
|
getBackgroundColor, getBackgroundColorAsString, getBorderColor, getBorderColorAsString, getBorderWidth, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderWidthcheckAndAddToParent, getChildKey, getDefaultValues, getParent, setCallbackToModel, setEventToModelgetArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBackgroundColorAsString, getBorderColorAsString, getBorderWidthpublic void setRadius(double radius)
radius - array of the radius of the point shape.public double getRadius()
getRadius in interface IsDefaultPointpublic void setPointStyle(PointStyle pointStyle)
pointStyle - array of the style of the point.public PointStyle getPointStyle()
getPointStyle in interface IsDefaultPointpublic void setPointStyle(ImageResource pointStyle)
pointStyle - image resource of the style of the point as image.public void setPointStyle(Image pointStyle)
pointStyle - image resource of the style of the point as image.public void setPointStyle(ImageElement pointStyle)
pointStyle - image element of the style of the point as image.public ImageElement getPointStyleAsImages()
null.null.public void setHitRadius(double hitRadius)
hitRadius - the pixel size of the non-displayed point.public double getHitRadius()
getHitRadius in interface IsDefaultPointpublic void setHoverRadius(double hoverRadius)
hoverRadius - the radius of the point when hovered.public double getHoverRadius()
getHoverRadius in interface IsDefaultPointpublic void setHoverBorderWidth(int hoverBorderWidth)
hoverBorderWidth - the border width of point when hovered.public int getHoverBorderWidth()
getHoverBorderWidth in interface IsDefaultPointpublic void setRotation(double rotation)
rotation - the point rotation (in degrees).public double getRotation()
getRotation in interface IsDefaultPoint