API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceTextLayoutResult
Result of a full text layout pass: quad placements plus both extents. Text has two honest sizes and they are not interchangeable. The advance is what a layout wants - it answers "how much room does this string take up in the flow". The ink is what the GPU wants - it answers "which rectangle do these glyphs actually cover", padding, outline reach and all.
import { TextLayoutResult } from '@codexo/exojs'Result of a full text layout pass: quad placements plus both extents.
Text has two honest sizes and they are not interchangeable. The advance is what a layout wants - it answers "how much room does this string take up in the flow". The ink is what the GPU wants - it answers "which rectangle do these glyphs actually cover", padding, outline reach and all.
ink: { height: number; width: number; x: number; y: number }