Skip to content

Type Alias: PolygonMagnet ​

ts
type PolygonMagnet = object;

Arrow snapped to a polygon annotation. rx/ry are 0–1 fractions of the polygon's bounding box from its top-left corner.

Properties ​

rx ​

ts
rx: number;

ry ​

ts
ry: number;

type ​

ts
type: "polygon";