Module params

Source
Expand description

Layout request parameters and line metrics. Value types that describe layout requests and results.

Structs§

LaidOutLine
Metrics for one laid-out line.
StyledTextLayoutParams
Inputs for styled text layout. Spans affect cache invalidation and prepare the pipeline for syntax-colored runs while preserving a single layout pass.
StyledTextSpan
Style override for a UTF-8 byte range in a text layout.
TextLayoutParams
Inputs for text layout (content, style, width, wrap).
TextMetrics
Overall width and height of laid-out text.

Enums§

WrapMode
Line breaking strategy for layout.