Class DefaultAngleLines
- java.lang.Object
-
- org.pepstock.charba.client.defaults.globals.DefaultAngleLines
-
- All Implemented Interfaces:
IsDefaultAngleLines
,IsDefaultScaleLines
public final class DefaultAngleLines extends Object implements IsDefaultAngleLines
CHART.JS default values for ANGLELINES element.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>
getBorderDash()
Returns the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.double
getBorderDashOffset()
Returns the line dash pattern offset.String
getColorAsString()
Returns the color of lines.int
getLineWidth()
Returns the width of lines.boolean
isDisplay()
If true, angle lines are shown
-
-
-
Method Detail
-
isDisplay
public boolean isDisplay()
Description copied from interface:IsDefaultAngleLines
If true, angle lines are shown- Specified by:
isDisplay
in interfaceIsDefaultAngleLines
- Returns:
- if true, angle lines are shown.
-
getLineWidth
public int getLineWidth()
Description copied from interface:IsDefaultScaleLines
Returns the width of lines.- Specified by:
getLineWidth
in interfaceIsDefaultScaleLines
- Returns:
- width of lines.
-
getColorAsString
public String getColorAsString()
Description copied from interface:IsDefaultScaleLines
Returns the color of lines.- Specified by:
getColorAsString
in interfaceIsDefaultScaleLines
- Returns:
- color of lines.
-
getBorderDashOffset
public double getBorderDashOffset()
Description copied from interface:IsDefaultAngleLines
Returns the line dash pattern offset.- Specified by:
getBorderDashOffset
in interfaceIsDefaultAngleLines
- Returns:
- Offset for line dashes.
-
getBorderDash
public List<Integer> getBorderDash()
Description copied from interface:IsDefaultAngleLines
Returns the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.- Specified by:
getBorderDash
in interfaceIsDefaultAngleLines
- Returns:
- the line dash pattern used when stroking lines
-
-