Rectangle

Properties


Methods

update

update(
   x: Optional[int] = None, y: Optional[int] = None, w: Optional[int] = None,
   h: Optional[int] = None, label: Optional[Label] = None
)

Description

Update this rectangle with new coordinates or new label.

Examples

rect.update(x=10, label=label_car)

delete

delete()

Description

Delete this rectangle from the platform.

:warning: DANGER ZONE: Be very careful here!

Examples

rect.delete()