LineArtist.draw

LineArtist.draw(color=None, show_points=False)[source]

Draw the line.

Parameters
  • color (tuple[int, int, int] | tuple[float, float, float] | Color, optional) – The RGB color of the line. Default is compas.artists.PrimitiveArtist.color.

  • show_points (bool, optional) – If True, draw the start and end point of the line.

Returns

list[System.Guid] – The GUIDs of the created Rhino objects.