Package org.pepstock.charba.client.items
Class ScaleLabelOptions
- java.lang.Object
- 
- org.pepstock.charba.client.commons.NativeObjectContainer
- 
- org.pepstock.charba.client.items.ScaleLabelOptions
 
 
- 
 public final class ScaleLabelOptions extends NativeObjectContainer The label options maps the labels options computed byScaleItem.
 This is a wrapper of the CHART.JS item with all needed info.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ScaleLabelBackdropOptionsgetBackdropOptions()Returns the backdrop options of the label of the scale.IsColorgetColor()Returns the color of the label of the scale.StringgetColorAsString()Returns the color of the label of the scale.intgetDecorationWidth()Returns the width of the strikethrough / underline of the label of the scale.doublegetMaxWidth()Returns the max width of the text in pixels of the label of the scale.doublegetRotation()Returns the rotation of the text in pixels of the label of the scale.IsColorgetStrokeColor()Returns the stroke color of the label of the scale.StringgetStrokeColorAsString()Returns the stroke color of the label of the scale.doublegetStrokeWidth()Returns the stroke width of the text in pixels of the label of the scale.TextAligngetTextAlign()Returns the text align is applied to the text in pixels of the label of the scale.TextBaselinegetTextBaseline()Returns the text baseline is applied to the text in pixels of the label of the scale.List<Double>getTranslation()Returns the translation is applied to the text in pixels of the label of the scale.booleanisStrikethrough()Returns the strikethrough is applied to the text in pixels of the label of the scale.booleanisUnderline()Returns the underline is applied to the text in pixels of the label of the scale.- 
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainercheckAndGetColor, checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
 
- 
 
- 
- 
- 
Method Detail- 
getBackdropOptionspublic ScaleLabelBackdropOptions getBackdropOptions() Returns the backdrop options of the label of the scale.- Returns:
- the backdrop options of the label of the scale
 
 - 
getColorAsStringpublic String getColorAsString() Returns the color of the label of the scale.- Returns:
- the color of the label of the scale
 
 - 
getColorpublic IsColor getColor() Returns the color of the label of the scale.- Returns:
- the color of the label of the scale
 
 - 
getDecorationWidthpublic int getDecorationWidth() Returns the width of the strikethrough / underline of the label of the scale.- Returns:
- the width of the strikethrough / underline of the label of the scale.
 
 - 
getMaxWidthpublic double getMaxWidth() Returns the max width of the text in pixels of the label of the scale.- Returns:
- the max width of the text in pixels of the label of the scale.
 
 - 
getRotationpublic double getRotation() Returns the rotation of the text in pixels of the label of the scale.- Returns:
- the rotation of the text in pixels of the label of the scale.
 
 - 
isStrikethroughpublic boolean isStrikethrough() Returns the strikethrough is applied to the text in pixels of the label of the scale.- Returns:
- the strikethrough is applied to the text in pixels of the label of the scale.
 
 - 
getStrokeColorAsStringpublic String getStrokeColorAsString() Returns the stroke color of the label of the scale.- Returns:
- the stroke color of the label of the scale
 
 - 
getStrokeColorpublic IsColor getStrokeColor() Returns the stroke color of the label of the scale.- Returns:
- the stroke color of the label of the scale
 
 - 
getStrokeWidthpublic double getStrokeWidth() Returns the stroke width of the text in pixels of the label of the scale.- Returns:
- the stroke width of the text in pixels of the label of the scale.
 
 - 
isUnderlinepublic boolean isUnderline() Returns the underline is applied to the text in pixels of the label of the scale.- Returns:
- the underline is applied to the text in pixels of the label of the scale.
 
 - 
getTranslationpublic List<Double> getTranslation() Returns the translation is applied to the text in pixels of the label of the scale.- Returns:
- the translation is applied to the text in pixels of the label of the scale.
 
 - 
getTextBaselinepublic TextBaseline getTextBaseline() Returns the text baseline is applied to the text in pixels of the label of the scale.- Returns:
- the text baseline is applied to the text in pixels of the label of the scale.
 
 - 
getTextAlignpublic TextAlign getTextAlign() Returns the text align is applied to the text in pixels of the label of the scale.- Returns:
- the text align is applied to the text in pixels of the label of the scale.
 
 
- 
 
-