PolylineArtist.draw

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

Draw the line.

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

  • show_points (bool, optional) – If True, draw the corner points of the polyline.

Returns

list[bpy.types.Object]