public final class DefaultLine extends Object implements IsDefaultLine
Constructor and Description |
---|
DefaultLine()
Creates a defualt arc
|
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.
|
CubicInterpolationMode |
getCubicInterpolationMode()
Returns algorithm used to interpolate a smooth curve from the discrete data points.
|
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). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBackgroundColorAsString, getBorderColorAsString, getBorderWidth
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 CubicInterpolationMode getCubicInterpolationMode()
IsDefaultLine
getCubicInterpolationMode
in interface IsDefaultLine
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).public final String getBackgroundColorAsString()
IsDefaultOptionsElement
getBackgroundColorAsString
in interface IsDefaultOptionsElement
public final int getBorderWidth()
IsDefaultOptionsElement
getBorderWidth
in interface IsDefaultOptionsElement
public final String getBorderColorAsString()
IsDefaultOptionsElement
getBorderColorAsString
in interface IsDefaultOptionsElement