ResolvedTextMarker class final
One list marker placed by the same layout pass as its first content line. Bounds are in the story owner's local coordinates, independent of text alignment. Visual geometry and activation are supplied by text contributions.
Constructors
-
ResolvedTextMarker({required TextRun run, required DiagramRect bounds, required double baseline, bool interactive = false, List<
DiagramMarkerStroke> ? strokes, DiagramTextLineGeometry? geometry}) -
const
Properties
- baseline → double
-
Alphabetic baseline measured from the marker box's top.
final
- baselineY → double
-
no setter
- bounds → DiagramRect
-
final
- geometry → DiagramTextLineGeometry?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- interactive → bool
-
final
- run → TextRun
-
Marker typography retained before line slicing, including empty items.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
strokes
→ List<
DiagramMarkerStroke> ? -
final
- text → String
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
translate(
DiagramPoint delta) → ResolvedTextMarker
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited