public final class DefaultLine extends DefaultArc implements IsDefaultLine
| Constructor and Description |
|---|
DefaultLine() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBackgroundColorAsString()
Returns the background color.
|
CapStyle |
getBorderCapStyle()
Returns how the end points of every line are drawn.
|
String |
getBorderColorAsString()
Returns the border color.
|
int |
getBorderDashOffset()
Returns the line dash pattern offset or "phase".
|
JoinStyle |
getBorderJoinStyle()
Returns how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together
(degenerate segments with zero lengths, whose specified end points and control points are exactly at the same position,
are skipped).
There are three possible values for this property: round, bevel and miter. |
int |
getBorderWidth()
Returns the border width.
|
IsFill |
getFill()
Returns how to fill the area under the line.
|
double |
getTension()
Returns the Bezier curve tension (0 for no Bezier curves).
|
boolean |
isCapBezierPoints()
Returns
true to keep Bezier control inside the chart, false for no restriction. |
boolean |
isStepped()
Returns
true to show the line as a stepped line (tension will be ignored). |
public String getBackgroundColorAsString()
IsDefaultArcgetBackgroundColorAsString in interface IsDefaultArcgetBackgroundColorAsString in class DefaultArcpublic int getBorderWidth()
IsDefaultArcgetBorderWidth in interface IsDefaultArcgetBorderWidth in class DefaultArcpublic String getBorderColorAsString()
IsDefaultArcgetBorderColorAsString in interface IsDefaultArcgetBorderColorAsString in class DefaultArcpublic double getTension()
IsDefaultLinegetTension in interface IsDefaultLinepublic CapStyle getBorderCapStyle()
IsDefaultLinegetBorderCapStyle in interface IsDefaultLinepublic int getBorderDashOffset()
IsDefaultLinegetBorderDashOffset in interface IsDefaultLinepublic JoinStyle getBorderJoinStyle()
IsDefaultLinegetBorderJoinStyle in interface IsDefaultLinepublic boolean isCapBezierPoints()
IsDefaultLinetrue to keep Bezier control inside the chart, false for no restriction.isCapBezierPoints in interface IsDefaultLinetrue to keep Bezier control inside the chart, false for no restriction.public IsFill getFill()
IsDefaultLinegetFill in interface IsDefaultLinepublic boolean isStepped()
IsDefaultLinetrue to show the line as a stepped line (tension will be ignored).isStepped in interface IsDefaultLinetrue to show the line as a stepped line (tension will be ignored).