API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceTextLayoutStyle

@codexo/exojs / rendering / stable

Minimal interface consumed by layoutText. Both TextStyle and the BMFont adapter satisfy this structurally.

9
props
0
methods
0
events
Import
import { TextLayoutStyle } from '@codexo/exojs'

Minimal interface consumed by layoutText. Both TextStyle and the BMFont adapter satisfy this structurally.

Properties9
decorationOffset?: number
Extra downward offset in pixels applied to both rules. Defaults to 0.
decorationThickness?: number
0 or omitted derives the thickness from the font's metrics.
fontSize: number
leading: number
lineHeight: number
strikethrough?: boolean
Defaults to false.
underline?: boolean
Defaults to false.
Source