Properties
-
annotation_idUUID of Annotation holding this Line -
coordsCoords of this Line -
label -
textOCR text of this Polygon
Methods
update
update(
coords: Optional[list] = None, label: Optional[Label] = None,
text: Optional[str] = None
)Description
Update this line with new coords or new label.
Examples
line.update(coords=[[0, 0], [0, 1], [1, 1]])Arguments
-
coords (List, optional) : New coords of this Line. Defaults to None.
-
label (Label, optional) : New label of this Line. Defaults to None.
-
text (str, optional) : New ocr text of this Line. Defaults to None.
delete
delete()Description
Delete this line from the platform.
⚠️ DANGER ZONE: Be very careful here!
Examples
line.delete()