Skip to content

API Type UICanvasTextBaseline

github-actions[bot] edited this page Dec 2, 2026 · 1 revision

Type Alias: UICanvasTextBaseline

type UICanvasTextBaseline = "top" | "hanging" | "middle" | "alphabetic" | "ideographic" | "bottom";

Defined in: src/engine/ui/draw/contract.ts:586

ADR 0667: Canvas2D's textBaseline values.

Clone this wiki locally