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 CapStylegetBorderCapStyle()Returns how the end points of every line are drawn.doublegetBorderDashOffset()Returns the line dash pattern offset.JoinStylegetBorderJoinStyle()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).CubicInterpolationModegetCubicInterpolationMode()Returns algorithm used to interpolate a smooth curve from the discrete data points.SteppedgetStepped()Returns if the line is shown as a stepped line.doublegetTension()Returns the Bézier curve tension (0 for no Bézier curves).booleanisCapBezierPoints()Returnstrueto keep Bézier control inside the chart,falsefor 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()
Returnstrueto keep Bézier control inside the chart,falsefor no restriction.- Returns:
trueto keep Bézier control inside the chart,falsefor 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.
-
-