public class ElementsLine extends Object implements Serializable
| Constructor and Description |
|---|
ElementsLine() |
| Modifier and Type | Method and Description |
|---|---|
String |
encode()
Write the line options of Elements
|
String |
getBackgroundColor()
Gets the backgroundColor
|
String |
getBorderCapStyle()
Gets the borderCapStyle
|
String |
getBorderColor()
Gets the borderColor
|
List<Number> |
getBorderDash()
Gets the borderDash
|
Number |
getBorderDashOffset()
Gets the borderDashOffset
|
String |
getBorderJoinStyle()
Gets the borderJoinStyle
|
Number |
getBorderWidth()
Gets the borderWidth
|
Object |
getFill()
Gets the fill
|
Number |
getTension()
Gets the tension
|
boolean |
isCapBezierPoints()
Gets the capBezierPoints
|
boolean |
isStepped()
Gets the stepped
|
void |
setBackgroundColor(String backgroundColor)
Sets the backgroundColor
|
void |
setBorderCapStyle(String borderCapStyle)
Sets the borderCapStyle
|
void |
setBorderColor(String borderColor)
Sets the borderColor
|
void |
setBorderDash(List<Number> borderDash)
Sets the borderDash
|
void |
setBorderDashOffset(Number borderDashOffset)
Sets the borderDashOffset
|
void |
setBorderJoinStyle(String borderJoinStyle)
Sets the borderJoinStyle
|
void |
setBorderWidth(Number borderWidth)
Sets the borderWidth
|
void |
setCapBezierPoints(boolean capBezierPoints)
Sets the capBezierPoints
|
void |
setFill(Object fill)
Sets the fill
|
void |
setStepped(boolean stepped)
Sets the stepped
|
void |
setTension(Number tension)
Sets the tension
|
public Number getTension()
public void setTension(Number tension)
tension - Bézier curve tension (0 for no Bézier curves).public String getBackgroundColor()
public void setBackgroundColor(String backgroundColor)
backgroundColor - Line fill color.public Number getBorderWidth()
public void setBorderWidth(Number borderWidth)
borderWidth - Line stroke width.public String getBorderColor()
public void setBorderColor(String borderColor)
borderColor - Line stroke color.public String getBorderCapStyle()
public void setBorderCapStyle(String borderCapStyle)
borderCapStyle - Line cap style.public void setBorderDash(List<Number> borderDash)
borderDash - Line dashpublic Number getBorderDashOffset()
public void setBorderDashOffset(Number borderDashOffset)
borderDashOffset - Line dash offsetpublic String getBorderJoinStyle()
public void setBorderJoinStyle(String borderJoinStyle)
borderJoinStyle - Line join style.public boolean isCapBezierPoints()
public void setCapBezierPoints(boolean capBezierPoints)
capBezierPoints - true to keep Bézier control inside the chart, false for no restriction.public Object getFill()
public void setFill(Object fill)
fill - Fill location: 'zero', 'top', 'bottom', true (eq. 'zero') or false (no fill).public boolean isStepped()
public void setStepped(boolean stepped)
stepped - true to show the line as a stepped line (tension will be ignored).public String encode() throws IOException
IOException - If an I/O error occursCopyright © 2020. All rights reserved.