LineArtist
- class compas_ghpython.artists.LineArtist(*args, **kwargs)[source]
Bases:
GHArtist
,PrimitiveArtist
Artist for drawing lines.
- Parameters
line (
compas.geometry.Line
) – A COMPAS line.**kwargs (dict, optional) – Additional keyword arguments. See
compas_ghpython.artists.GHArtist
andcompas.artists.PrimitiveArtist
for more info.
Methods
Draw the line.
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.