DiagramParagraphTextLayoutEngine class abstract
Owns story offsets, content slots, spacing, and vertical placement for every paragraph shaper, including deterministic headless measurement.
- Implemented types
- Implementers
Constructors
- DiagramParagraphTextLayoutEngine({double blockSpacing = diagramDefaultBlockSpacing, double listIndent = 22})
-
const
Properties
- blockSpacing → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- listIndent → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
layout(
{required TextStory story, required DiagramRect clipBounds, required int revisionKey, List< DiagramTextRegionLayout> regions = const []}) → ResolvedTextStory -
override
-
measureBlock(
TextParagraph block, DiagramTextRegionLayout region, double availableWidth) → List< DiagramMeasuredTextLine> - Shapes every block into at least one finite, positive-height visual line, including an empty block. Offsets remain relative to canonical block text. The same line metrics drive placement, carets, selection and owner growth.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited