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()
IsDefaultArc
getBackgroundColorAsString
in interface IsDefaultArc
getBackgroundColorAsString
in class DefaultArc
public int getBorderWidth()
IsDefaultArc
getBorderWidth
in interface IsDefaultArc
getBorderWidth
in class DefaultArc
public String getBorderColorAsString()
IsDefaultArc
getBorderColorAsString
in interface IsDefaultArc
getBorderColorAsString
in class DefaultArc
public double getTension()
IsDefaultLine
getTension
in interface IsDefaultLine
public CapStyle getBorderCapStyle()
IsDefaultLine
getBorderCapStyle
in interface IsDefaultLine
public int getBorderDashOffset()
IsDefaultLine
getBorderDashOffset
in interface IsDefaultLine
public JoinStyle getBorderJoinStyle()
IsDefaultLine
getBorderJoinStyle
in interface IsDefaultLine
public boolean isCapBezierPoints()
IsDefaultLine
true
to keep Bezier control inside the chart, false
for no restriction.isCapBezierPoints
in interface IsDefaultLine
true
to keep Bezier control inside the chart, false
for no restriction.public IsFill getFill()
IsDefaultLine
getFill
in interface IsDefaultLine
public boolean isStepped()
IsDefaultLine
true
to show the line as a stepped line (tension will be ignored).isStepped
in interface IsDefaultLine
true
to show the line as a stepped line (tension will be ignored).