Interface IsDefaultLine
-
- All Superinterfaces:
IsDefaultFillHandler
,IsDefaultOptionsElement
- All Known Implementing Classes:
DefaultChartLine
,DefaultLine
,Line
public interface IsDefaultLine extends IsDefaultOptionsElement, IsDefaultFillHandler
Interface to define line object defaults.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CapStyle
getBorderCapStyle()
Returns how the end points of every line are drawn.double
getBorderDashOffset()
Returns the line dash pattern offset.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).CubicInterpolationMode
getCubicInterpolationMode()
Returns algorithm used to interpolate a smooth curve from the discrete data points.Stepped
getStepped()
Returns if the line is shown as a stepped line.double
getTension()
Returns the Bézier curve tension (0 for no Bézier curves).boolean
isCapBezierPoints()
Returnstrue
to keep Bézier control inside the chart,false
for no restriction.-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultFillHandler
getFill, getFillBaseline, getFillColors
-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultOptionsElement
getBackgroundColorAsString, getBorderColorAsString, getBorderWidth, getHoverBackgroundColorAsString, getHoverBorderColorAsString, getHoverBorderWidth
-
-
-
-
Method Detail
-
getTension
double getTension()
Returns the Bézier curve tension (0 for no Bézier curves).- Returns:
- the Bézier curve tension (0 for no Bézier curves).
-
getBorderCapStyle
CapStyle getBorderCapStyle()
Returns how the end points of every line are drawn.- Returns:
- how the end points of every line are drawn.
-
getBorderDashOffset
double getBorderDashOffset()
Returns the line dash pattern offset.- Returns:
- the line dash pattern offset.
-
getBorderJoinStyle
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).- Returns:
- how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together
-
isCapBezierPoints
boolean isCapBezierPoints()
Returnstrue
to keep Bézier control inside the chart,false
for no restriction.- Returns:
true
to keep Bézier control inside the chart,false
for no restriction.
-
getCubicInterpolationMode
CubicInterpolationMode getCubicInterpolationMode()
Returns algorithm used to interpolate a smooth curve from the discrete data points.- Returns:
- algorithm used to interpolate a smooth curve from the discrete data points.
-
getStepped
Stepped getStepped()
Returns if the line is shown as a stepped line.- Returns:
- If the line is shown as a stepped line.
-
-