Interface IsScriptableFontProvider<T extends ChartContext>
-
- Type Parameters:
T
- type of scriptable context
- All Known Implementing Classes:
CartesianCategoryTick
,CartesianLinearTick
,CartesianLogarithmicTick
,CartesianTimeTick
,DataLabelsOptions
,Label
,LabelItem
,LineLabel
,RadialLinearTick
,RadialPointLabels
,Subtitle
,Title
public interface IsScriptableFontProvider<T extends ChartContext>
Map an object which contains a font instance which can be set by callback,FontCallback
.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FontCallback<T>
getFontCallback()
Returns theFontCallback
if it has been set ornull
.void
setFont(FontCallback<T> fontCallback)
Sets the font callback.void
setFont(NativeCallback fontCallback)
Sets the font callback.
-
-
-
Method Detail
-
getFontCallback
FontCallback<T> getFontCallback()
Returns theFontCallback
if it has been set ornull
.- Returns:
- the
FontCallback
if it has been set ornull
.
-
setFont
void setFont(FontCallback<T> fontCallback)
Sets the font callback.- Parameters:
fontCallback
- the font callback.
-
setFont
void setFont(NativeCallback fontCallback)
Sets the font callback.- Parameters:
fontCallback
- the font callback.
-
-