labelGeometry
labelGeometry(
box):LabelGeometry
Defined in: labels/cull.ts:61
Resolve a LabelBox to its on-screen geometry. Plain labels (no rotation) keep the
historical top-left box and own their CSS transform. Oriented labels (rotation set) place
the text along the rotated axis, vertically centred on the anchor, with text-anchor and the
optional upright flip folded in — and emit the matching CSS transform. The collision corners
and the transform come from the same computation, so render and culling stay consistent.