Outline class
A stroke sweeps around each letter's outline like a clock hand, then the fill rises inside it and the stroke lets go. The outline is the SAME paragraph laid out again with a stroked ink, so every join and ligature is traced exactly as it is set.
- Inheritance
-
- Object
- TextEffect
- StaggeredEffect
- Outline
Constructors
Properties
- color → Color
-
Stroke colour.
final
- continuous → bool
-
True for effects that move on their own clock (shimmer, sparkle, float)
and need the host ticking while mounted.
no setterinherited
- curve → Curve
-
The ease each unit's own timeline runs through.
finalinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- motionOnly → bool
-
True for effects that are only motion — under reduced motion they are
skipped entirely. A gradient fill is not motion; a sparkle is.
no setterinherited
- order → StaggerOrder
-
The order units start in.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stagger → double
-
How much of the run is spent starting units,
0..0.95.finalinherited - staggerHash → int
-
The stagger's contribution to a subclass's
hashCode.no setterinherited - width → double
-
Stroke width, logical pixels.
final
Methods
-
apply(
TextFrame frame, UnitSlice slice) → void -
Write this frame's poses, ink passes and decor for
sliceintoframe.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
poseUnit(
TextFrame frame, UnitBox unit, UnitPose pose, double local, double eased, int k, int n) → void -
Pose one unit.
localis the unit's raw 0..1 timeline,easedthe same through curve;kis its position in the slice ofn.override -
sameStagger(
StaggeredEffect other) → bool -
True when
otherstaggers the same way — for subclasses'==.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override