Skip to content

TextRenderMode

const TextRenderMode: object

Defined in: ui/core/text.ts:28

Glyph pipeline for a Text.

readonly Auto: 0 = 0

Hinted bitmap while the entity is unscaled, SDF once it scales.

readonly Bitmap: 1 = 1

Canvas2D native AA at the on-screen pixel size. Sharpest when static.

readonly Sdf: 2 = 2

Signed-distance field — a stable ~1px edge at any scale/zoom.