Interface IsDefaultArc
-
- All Superinterfaces:
IsDefaultOptionsElement
- All Known Implementing Classes:
Arc,DefaultArc,DefaultChartArc
public interface IsDefaultArc extends IsDefaultOptionsElement
Interface to define arc object defaults.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description doublegetAngle()Returns the arc angle to cover.BorderAligngetBorderAlign()Returns the property to set the border alignment on chart datasets.default 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).intgetBorderRadius()Returns the arc border radius (in pixels).default JoinStylegetHoverBorderJoinStyle()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), when hovered.intgetHoverOffset()Returns the arc offset (in pixels) when hovered.intgetOffset()Returns the arc offset (in pixels).intgetSpacing()Returns the fixed arc offset (in pixels).
Similar tooffsetbut applies to all arcs.doublegetWeight()Returns the relative thickness of the dataset.
Providing a value for weight will cause the pie or doughnut dataset to be drawn with a thickness relative to the sum of all the dataset weight values.-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultOptionsElement
getBackgroundColorAsString, getBorderColorAsString, getBorderWidth, getHoverBackgroundColorAsString, getHoverBorderColorAsString, getHoverBorderWidth
-
-
-
-
Method Detail
-
getBorderAlign
BorderAlign getBorderAlign()
Returns the property to set the border alignment on chart datasets.- Returns:
- the property to set the border alignment on chart datasets.
-
getBorderJoinStyle
default 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
-
getWeight
double getWeight()
Returns the relative thickness of the dataset.
Providing a value for weight will cause the pie or doughnut dataset to be drawn with a thickness relative to the sum of all the dataset weight values.- Returns:
- the relative thickness of the dataset
-
getAngle
double getAngle()
Returns the arc angle to cover.- Returns:
- the arc angle to cover
-
getOffset
int getOffset()
Returns the arc offset (in pixels).- Returns:
- the arc offset
-
getBorderRadius
int getBorderRadius()
Returns the arc border radius (in pixels).- Returns:
- the arc border radius (in pixels).
-
getHoverOffset
int getHoverOffset()
Returns the arc offset (in pixels) when hovered.- Returns:
- the arc offset when hovered
-
getHoverBorderJoinStyle
default JoinStyle getHoverBorderJoinStyle()
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), when hovered.- Returns:
- how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together
-
getSpacing
int getSpacing()
Returns the fixed arc offset (in pixels).
Similar tooffsetbut applies to all arcs.- Returns:
- the fixed arc offset (in pixels)
-
-