Interface IsDefaultLegendLabels
-
- All Superinterfaces:
IsDefaultBoxHandler
,IsDefaultFontContainer
,IsDefaultPointStyleHandler
- All Known Implementing Classes:
DefaultChartLegendLabels
,DefaultLegendLabels
,LegendLabels
public interface IsDefaultLegendLabels extends IsDefaultBoxHandler, IsDefaultPointStyleHandler, IsDefaultFontContainer
Interface to define legend labels object defaults.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPadding()
Returns the padding to apply around labels.TextAlign
getTextAlign()
Returns the horizontal alignment of the label text.boolean
isUsePointStyle()
Returns if label style will match corresponding point style (size is based on fontSize, boxWidth is not used in this case).-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultBoxHandler
getBoxHeight, getBoxWidth
-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultFontContainer
getColorAsString, getFont
-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultPointStyleHandler
getPointStyle, getPointStyleAsCanvas, getPointStyleAsImage, getPointStyleType
-
-
-
-
Method Detail
-
isUsePointStyle
boolean isUsePointStyle()
Returns if label style will match corresponding point style (size is based on fontSize, boxWidth is not used in this case).- Returns:
- if label style will match corresponding point style (size is based on fontSize, boxWidth is not used in this case).
-
getPadding
int getPadding()
Returns the padding to apply around labels. Only top and bottom are implemented.- Returns:
- Padding to apply around labels. Only top and bottom are implemented.
-
getTextAlign
TextAlign getTextAlign()
Returns the horizontal alignment of the label text.- Returns:
- the horizontal alignment of the label text.
-
-