Skip to content

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.

axisAligned: boolean

Defined in: labels/cull.ts:49


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: string

Defined in: labels/cull.ts:51

CSS transform reproducing the box (oriented labels only; "" for plain labels).