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 SummaryAll 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.IsDefaultFillHandlergetFill
 - 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultOptionsElementgetBackgroundColorAsString, getBorderColorAsString, getBorderWidth, getHoverBackgroundColorAsString, getHoverBorderColorAsString, getHoverBorderWidth
 
- 
 
- 
- 
- 
Method Detail- 
getTensiondouble 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).
 
 - 
getBorderCapStyleCapStyle getBorderCapStyle() Returns how the end points of every line are drawn.- Returns:
- how the end points of every line are drawn.
 
 - 
getBorderDashOffsetdouble getBorderDashOffset() Returns the line dash pattern offset.- Returns:
- the line dash pattern offset.
 
 - 
getBorderJoinStyleJoinStyle 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
 
 - 
isCapBezierPointsboolean isCapBezierPoints() Returnstrueto keep Bézier control inside the chart,falsefor no restriction.- Returns:
- trueto keep Bézier control inside the chart,- falsefor no restriction.
 
 - 
getCubicInterpolationModeCubicInterpolationMode 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.
 
 - 
getSteppedStepped getStepped() Returns if the line is shown as a stepped line.- Returns:
- If the line is shown as a stepped line.
 
 
- 
 
-