R6 class defining theme font properties
Public fields
title
Font
object for font properties titlesubtitle
Font
object for font properties of subtitlexlabel
Font
object for font properties of xlabelylabel
Font
object for font properties of ylabely2label
Font
object for font properties of y2labelcaption
Font
object for font properties of captionwatermark
Font
object for font properties of watermarklegendTitle
Font
object for font properties of legend titlelegend
Font
object for font properties of legendxAxis
Font
object for font properties of xAxisyAxis
Font
object for font properties of yAxisy2Axis
Font
object 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
title
Font
object or list for font properties titlesubtitle
Font
object or list for font properties of subtitlexlabel
Font
object or list for font properties of xlabelylabel
Font
object or list for font properties of ylabely2label
Font
object or list for font properties of y2labelcaption
Font
object or list for font properties of captionwatermark
Font
object or list for font properties of watermarklegendTitle
Font
object or list for font properties of legend titlelegend
Font
object or list for font properties of legendxAxis
Font
object or list for font properties of xAxisyAxis
Font
object or list for font properties of yAxisy2Axis
Font
object or list for font properties of y2AxisbaseColor
name of base color of undefined fonts. Default is "black".
baseSize
base size of undefined fonts. Default is 12.
baseFace
name of base face of undefined fonts. Default is "plain".
baseFamily
name of base family of undefined fonts. Default is "".
baseAngle
base angle of undefined fonts. Default is 0 degree.
baseAlign
base alignment of undefined fonts. Default is "center".
baseMaxWidth
base maximum ggplot2 "pt" unit in which text is drawn.