PolygonArtist
- class compas_ghpython.artists.PolygonArtist(item, **kwargs)[source]
Bases:
GHArtist
,PrimitiveArtist
Artist for drawing polygons.
- Parameters
polygon (
Polygon
) – A COMPAS polygon.**kwargs (dict, optional) – Additional keyword arguments. See
GHArtist
andPrimitiveArtist
for more info.
Methods
Draw the polygon.
Inherited Methods
Build an artist corresponding to the item type.
Build an artist with the given type.
Clear all objects from the view.
Drawing method for drawing an entire collection of objects.
Redraw the view.
Register an artist type to a data type.