Properties
-
annotation_id
UUID of the Annotation holding this Polygon -
coords
Coords of this Polygon -
label
Label of this Polygon
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.
DANGER ZONE: Be very careful here!
Examples
poly.delete()