LabelGeometry
Defined in: labels/cull.ts:43
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:49
corners
Section titled “corners”corners:
Point[]
Defined in: labels/cull.ts:44
maxX:
number
Defined in: labels/cull.ts:47
maxY:
number
Defined in: labels/cull.ts:48
minX:
number
Defined in: labels/cull.ts:45
minY:
number
Defined in: labels/cull.ts:46
transform
Section titled “transform”transform:
string
Defined in: labels/cull.ts:51
CSS transform reproducing the box (oriented labels only; "" for plain labels).