R6 class defining theme font properties
Public fields
titleFontobject for font properties titlesubtitleFontobject for font properties of subtitlexlabelFontobject for font properties of xlabelylabelFontobject for font properties of ylabely2labelFontobject for font properties of y2labelcaptionFontobject for font properties of captionwatermarkFontobject for font properties of watermarklegendTitleFontobject for font properties of legend titlelegendFontobject for font properties of legendxAxisFontobject for font properties of xAxisyAxisFontobject for font properties of yAxisy2AxisFontobject for font properties of y2Axis
Methods
Method new()
Create a new ThemeFont object
Usage
ThemeFont$new(
title = NULL,
subtitle = NULL,
xlabel = NULL,
ylabel = NULL,
y2label = NULL,
caption = NULL,
watermark = NULL,
legendTitle = NULL,
legend = NULL,
xAxis = NULL,
yAxis = NULL,
y2Axis = NULL,
baseColor = "black",
baseSize = 12,
baseFace = "plain",
baseFamily = "",
baseAngle = 0,
baseAlign = "center",
baseMaxWidth = NULL
)Arguments
titleFontobject or list for font properties titlesubtitleFontobject or list for font properties of subtitlexlabelFontobject or list for font properties of xlabelylabelFontobject or list for font properties of ylabely2labelFontobject or list for font properties of y2labelcaptionFontobject or list for font properties of captionwatermarkFontobject or list for font properties of watermarklegendTitleFontobject or list for font properties of legend titlelegendFontobject or list for font properties of legendxAxisFontobject or list for font properties of xAxisyAxisFontobject or list for font properties of yAxisy2AxisFontobject or list for font properties of y2AxisbaseColorname of base color of undefined fonts. Default is "black".
baseSizebase size of undefined fonts. Default is 12.
baseFacename of base face of undefined fonts. Default is "plain".
baseFamilyname of base family of undefined fonts. Default is "".
baseAnglebase angle of undefined fonts. Default is 0 degree.
baseAlignbase alignment of undefined fonts. Default is "center".
baseMaxWidthbase maximum ggplot2 "pt" unit in which text is drawn.