Create a list of settings for a text.
amText(
text,
color = NULL,
fontSize = NULL,
fontWeight = "normal",
fontFamily = NULL
)
the text to display, a character string
color of the text; it can be given by the name of a R color,
the name of a CSS color, e.g. "crimson"
, an HEX code like
"#ff009a"
, a RGB code like "rgb(255,100,39)"
, or a HSL code
like "hsl(360,11,255)"
size of the text
font weight of the text, it can be "normal"
,
"bold"
, "bolder"
, "lighter"
, or a number in
seq(100, 900, by = 100)
font family
A list of settings for a text.