Skip to content

labelTextY

labelTextY(box): number

Defined in: labels/cull.ts:128

The y a backend drawing native text with a "middle" baseline must use — the vertical centre of the same box. Mirrors labelGeometry’s vertical placement (a unit test pins the two against each other), so overlay and native text sit on the same line.

LabelBox

number