GGity v0.3.0 GGity.Element.Text View Source
Defines the data and functions used to style non-geom text elements.
CSS presentation attributes:
-
:family
sets value of CSSfont-family
-
:face
sets value of CSSfont-face
-
:color
sets value of CSSfill
-
:size
sets value of CSSfont-size
Other attributes:
-
:angle
sets the value passed totransform: rotate()
for the purpose of rotating x axis tick labels (has no effect when set for other theme elements)
Link to this section Summary
Functions
Constructor for a Text element.
Link to this section Types
Specs
Link to this section Functions
Specs
Constructor for a Text element.
Setting the value of an attributed to nil
will remove that property
from the generated stylesheet altogether.
Calling element_text(attributes)
is equivalent to struct(GGity.Element.Line, attributes)
.