PolygonArtist
- class compas_rhino.artists.PolygonArtist(item, **kwargs)[source]
Bases:
RhinoArtist,PrimitiveArtistArtist for drawing polygons.
- Parameters
polygon (
Polygon) – A COMPAS polygon.layer (str, optional) – The name of the layer that will contain the mesh.
**kwargs (dict, optional) – Additional keyword arguments. For more info, see
RhinoArtistandPrimitiveArtist.
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.
Clear the layer of the artist.
Drawing method for drawing an entire collection of objects.
Redraw the view.
Register an artist type to a data type.