public final class DefaultChartTitle extends Object implements IsDefaultTitle
Modifier and Type | Method and Description |
---|---|
String |
getFontColorAsString()
Returns the font color
|
String |
getFontFamily()
Returns the font family, follows CSS font-family options.
|
int |
getFontSize()
Returns the font size.
|
FontStyle |
getFontStyle()
Returns the font style, follows CSS font-style options (i.e.
|
double |
getLineHeight()
Returns the height of an individual line of text.
|
int |
getPadding()
Returns the padding to apply around labels.
|
Position |
getPosition()
Returns the position of title.
|
boolean |
isDisplay()
Returns if the title is shown.
|
boolean |
isFullWidth()
Returns if marks that this box should take the full width of the canvas (pushing down other boxes)
|
public String getFontColorAsString()
IsDefaultFontItem
getFontColorAsString
in interface IsDefaultFontItem
public int getFontSize()
IsDefaultFontItem
getFontSize
in interface IsDefaultFontItem
public FontStyle getFontStyle()
IsDefaultFontItem
getFontStyle
in interface IsDefaultFontItem
public String getFontFamily()
IsDefaultFontItem
getFontFamily
in interface IsDefaultFontItem
public boolean isDisplay()
IsDefaultTitle
isDisplay
in interface IsDefaultTitle
public Position getPosition()
IsDefaultTitle
getPosition
in interface IsDefaultTitle
public int getPadding()
IsDefaultTitle
getPadding
in interface IsDefaultTitle
public boolean isFullWidth()
IsDefaultTitle
isFullWidth
in interface IsDefaultTitle
public double getLineHeight()
IsDefaultTitle
getLineHeight
in interface IsDefaultTitle