TextFrame class

Everything the effects have decided for one painted frame: a pose per unit, the ink passes, and the decor to draw behind and over the glyphs. Built fresh by the compositor every frame and handed to each effect in order.

Constructors

TextFrame({required ShapedText shaped, required double progress, required double time, required List<UnitPose> poses})

Properties

anyPosed → bool
True when any unit has left its resting pose.
no setter
behind → List<DecorPainter>
final
direction → TextDirection
no setter
hashCode → int
The hash code for this object.
no setterinherited
ink → List<InkPass>
final
isRtl → bool
no setter
over → List<DecorPainter>
final
progress → double
The one-shot progress, 0 → 1, of the reveal the host is playing.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shaped → ShapedText
final
time → double
Seconds since the host mounted — the clock of every loop.
final
unitCount → int
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pose(int unit) → UnitPose
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited