Skip to main contentModule block
Source - BlockLayout
- Computed layout for a single block (paragraph).
- BlockLayoutParams
- Parameters extracted from text-document’s BlockFormat / TextFormat.
This is a plain struct so block layout doesn’t depend on text-document types.
- FragmentParams
- A text fragment with its formatting parameters.
- PaintSpan
- A resolved paint-only color overlay span for one character range of a block.
- ShapedListMarker
- A shaped list marker ready for rendering.
- apply_paint_spans
- Apply paint-only color spans to a base
BlockLayout, returning a recolored
clone. The base is left untouched. - layout_block
- Lay out a single block: resolve fonts, shape fragments, break into lines.