Skip to content

labelTextRotation

labelTextRotation(box): number

Defined in: labels/cull.ts:100

The rotation the label is rendered at, in radians (CSS-clockwise, about its anchor): 0 for a plain label, else its rotation with the upright flip folded in. What a native-text backend rotates by (#580).

LabelBox

number