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 box. The default color is compas.artists.PrimitiveArtist.color.

  • show_points (bool, optional) – If True, show the start and end point in addition to the line.

Returns

list[bpy.types.Object]