pixi-wheels

LabelOrientation

pixi-wheels


pixi-wheels / index / LabelOrientation

Type Alias: LabelOrientation

type LabelOrientation = "radial" | "tangential" | "tangential-in" | "upright";

Defined in: config/types.ts:21

How a label sits in its wedge.

  • 'radial': reads from the hub to the rim.
  • 'tangential': follows the arc, top of the content toward the rim. Reads upright at twelve o’clock.
  • 'tangential-in': follows the arc, top toward the hub. Reads upright at six o’clock, for wheels read from below.
  • 'upright': stays upright on screen as the disc turns.