LineArtist
-
class
compas_ghpython.artists.
LineArtist
(primitive, color=None)[source] Bases:
compas_ghpython.artists._primitiveartist.PrimitiveArtist
Artist for drawing lines.
- Parameters
primitive (
compas.geometry.Line
) – A COMPAS line.- Other Parameters
See :class:`compas_ghpython.artists.PrimitiveArtist` for all other parameters.
Methods
__init__
(primitive[, color])Initialize self.
draw
()Draw the line.
draw_collection
(collection)Draw the collection of lines.