PolylineArtist.draw

PolylineArtist.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 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]