Skip to main content

AnnoMark

TypeSource

AnnoMark(
x: float,
y: float,
width: float,
height: float,
type: "RECT",
)

AnnoMark is a TypedDict.

The mark property in the annotation item.

Aliases

This type can be acquired by

import dash_picture_annotation as dpa


dpa.AnnoMark
dpa.typehints.AnnoMark

Keywords

KeywordTypeRequired
Description
xfloatThe x (horizontal) position of the upper left corner of the annotation item.
yfloatThe y (vertical) position of the upper left corner of the annotation item.
widthfloatThe width of the bounding box.
heightfloatThe height of the bounding box.
type"RECT"The type of the annotation shape. Currently, we only support "RECT" (rectangle).