Basic SVG drawable, inheritted by stuff like circles, rectangles, etc.
Instance methods
class_attribute(io : IO)
Sourceclasses
A list of the classes for this object
Sourceclasses=(classes : Array(String))
A list of the classes for this object
Sourcecustom_attribute(io : IO)
Rendered custom attributes
Sourcecustom_attrs
A list of custom attributes
Sourcecustom_attrs=(custom_attrs : Hash(String, String))
A list of custom attributes
Sourcedraw(io : IO) : Nil
Main draw method for a drawable. Takes in and interacts with an io.
Sourceinner_elements
The inner elements of this drawable.
Sourceinner_elements=(inner_elements : IO::Memory)
The inner elements of this drawable.
Sourcestyle
A list of the style options
Sourcestyle=(style : Hash(String, String))
A list of the style options
Sourcestyle_attribute(io : IO)
Source