LabelGeometry
Defined in: labels/cull.ts:56
The realised screen geometry of a label: its four corners, their AABB, whether it is axis-aligned (fast-path collision), and the CSS transform that reproduces the box.
Properties
Section titled “Properties”axisAligned
Section titled “axisAligned”axisAligned:
boolean
Defined in: labels/cull.ts:62
corners
Section titled “corners”corners:
Point[]
Defined in: labels/cull.ts:57
maxX:
number
Defined in: labels/cull.ts:60
maxY:
number
Defined in: labels/cull.ts:61
minX:
number
Defined in: labels/cull.ts:58
minY:
number
Defined in: labels/cull.ts:59
transform
Section titled “transform”transform:
string
Defined in: labels/cull.ts:65
CSS transform reproducing the box; "" when the box is the default top-left one (the
caller’s own transform then applies).