API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
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?: numberExtra downward offset in pixels applied to both rules. Defaults to 0.
decorationThickness?: number0 or omitted derives the thickness from the font's metrics.
fontSize: numberleading: numberlineHeight: numberstrikethrough?: booleanDefaults to false.
Defaults to 'none' when the style omits it.
underline?: booleanDefaults to false.
Source