public class ElementsPoint extends Object implements Serializable
Constructor and Description |
---|
ElementsPoint() |
Modifier and Type | Method and Description |
---|---|
String |
encode()
Write the point options of Elements
|
String |
getBackgroundColor()
Gets the backgroundColor
|
String |
getBorderColor()
Gets the borderColor
|
Number |
getBorderWidth()
Gets the borderWidth
|
Number |
getHitRadius()
Gets the hitRadius
|
Number |
getHoverBorderWidth()
Gets the hoverBorderWidth
|
Number |
getHoverRadius()
Gets the hoverRadius
|
String |
getPointStyle()
Gets the pointStyle
|
Number |
getRadius()
Gets the radius
|
void |
setBackgroundColor(String backgroundColor)
Sets the backgroundColor
|
void |
setBorderColor(String borderColor)
Sets the borderColor
|
void |
setBorderWidth(Number borderWidth)
Sets the borderWidth
|
void |
setHitRadius(Number hitRadius)
Sets the hitRadius
|
void |
setHoverBorderWidth(Number hoverBorderWidth)
Sets the hoverBorderWidth
|
void |
setHoverRadius(Number hoverRadius)
Sets the hoverRadius
|
void |
setPointStyle(String pointStyle)
Sets the pointStyle
|
void |
setRadius(Number radius)
Sets the radius
|
public Number getRadius()
public void setRadius(Number radius)
radius
- Point radius.public String getPointStyle()
public void setPointStyle(String pointStyle)
pointStyle
- Point style.public String getBackgroundColor()
public void setBackgroundColor(String backgroundColor)
backgroundColor
- Point fill color.public Number getBorderWidth()
public void setBorderWidth(Number borderWidth)
borderWidth
- Point stroke width.public String getBorderColor()
public void setBorderColor(String borderColor)
borderColor
- Point stroke color.public Number getHitRadius()
public void setHitRadius(Number hitRadius)
hitRadius
- Extra radius added to point radius for hit detection.public Number getHoverRadius()
public void setHoverRadius(Number hoverRadius)
hoverRadius
- Point radius when hovered.public Number getHoverBorderWidth()
public void setHoverBorderWidth(Number hoverBorderWidth)
hoverBorderWidth
- Stroke width when hovered.public String encode() throws IOException
IOException
- if writer is nullCopyright © 2018. All rights reserved.