LineArtist.draw

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

Draw the line.

Parameters
  • color (tuple[float, float, float] or tuple[int, int, int], 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]