GGity v0.3.0 GGity.Element.Line View Source
Defines the data and functions used to style non-geom line elements.
CSS presentation attributes:
-
:color
sets value of CSSstroke
-
:size
sets value of CSSstroke-width
Link to this section Summary
Functions
Constructor for a Line element.
Link to this section Types
Specs
Link to this section Functions
Specs
Constructor for a Line element.
Setting the value of an attributed to nil
will remove that property
from the generated stylesheet altogether.
Calling element_line(attributes)
is equivalent to struct(GGity.Element.Line, attributes)
.