PolylineArtist
-
class
compas_ghpython.artists.PolylineArtist(primitive, color=None)[source] Bases:
compas_ghpython.artists._primitiveartist.PrimitiveArtistArtist for drawing polylines.
- Parameters
primitive (
compas.geometry.Polyline) – A COMPAS polyline.- Other Parameters
See :class:`compas_rhino.artists.PrimitiveArtist` for all other parameters.
Methods
__init__(primitive[, color])Initialize self.
draw()Draw the polyline.
draw_collection(collection)Draw a collection of polylines.