PolygonArtist.draw

PolygonArtist.draw(color=None, show_points=False, show_edges=False, show_face=True)[source]

Draw the polygon.

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

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

  • show_edges (bool, optional) – If True, draw the boundary edges of the polygon.

  • show_face (bool, optional) – If True, draw the face of the polygon.

Returns

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