public class Point extends Object
Modifier and Type | Method and Description |
---|---|
IsColor |
getBackgroundColor()
Returns the background color.
|
String |
getBackgroundColorAsString()
Returns the background color.
|
IsColor |
getBorderColor()
Returns the border 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.
|
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 |
getPointStyleAsImage()
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 |
setBackgroundColor(IsColor backgroundColor)
Sets the background color.
|
void |
setBackgroundColor(String backgroundColor)
Sets the background color.
|
void |
setBorderColor(IsColor borderColor)
Sets the border color.
|
void |
setBorderColor(String borderColor)
Sets the border color.
|
void |
setBorderWidth(int borderWidth)
Sets the border width.
|
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).
|
public void setRadius(double radius)
radius
- array of the radius of the point shape.public double getRadius()
public void setPointStyle(PointStyle pointStyle)
pointStyle
- array of the style of the point.public void setPointStyle(ImageResource pointStyle)
pointStyle
- array of the style of the point.public void setPointStyle(Image pointStyle)
pointStyle
- array of the style of the point.public void setPointStyle(ImageElement pointStyle)
pointStyle
- array of the style of the point.public PointStyle getPointStyle()
public ImageElement getPointStyleAsImage()
public void setHitRadius(double hitRadius)
hitRadius
- the pixel size of the non-displayed point.public double getHitRadius()
public void setHoverRadius(double hoverRadius)
hoverRadius
- the radius of the point when hovered.public double getHoverRadius()
public void setHoverBorderWidth(int hoverBorderWidth)
hoverBorderWidth
- the border width of point when hovered.public int getHoverBorderWidth()
public void setRotation(double rotation)
rotation
- the point rotation (in degrees).public double getRotation()
public void setBackgroundColor(IsColor backgroundColor)
backgroundColor
- the background color.public void setBackgroundColor(String backgroundColor)
backgroundColor
- the background color.public String getBackgroundColorAsString()
public IsColor getBackgroundColor()
public void setBorderWidth(int borderWidth)
borderWidth
- the border width.public int getBorderWidth()
public void setBorderColor(IsColor borderColor)
borderColor
- the border color.public void setBorderColor(String borderColor)
borderColor
- the border color.public String getBorderColorAsString()
public IsColor getBorderColor()