ShapeArtist
- class compas.artists.ShapeArtist(item, **kwargs)[source]
Bases:
Artist
Base class for artists for geometric shapes.
- Parameters
- Attributes
- Class Attributes
default_color (
Color
) – The default color of the shape.
Inherited Methods
Build an artist corresponding to the item type.
Build an artist with the given type.
Clear all objects from the view.
The main drawing method.
Drawing method for drawing an entire collection of objects.
Redraw the view.
Register an artist type to a data type.