Polygon

Properties


Methods

update

update(
   coords: Optional[List] = None, label: Optional[Label] = None
)

Description

Update this polygon with new coords or new label.

Examples

poly.update(coords=[[0, 0], [0, 1], [1, 1], [0, 0]])

delete

delete()

Description

Delete this polygon from the platform.

:warning: DANGER ZONE: Be very careful here!

Examples

poly.delete()