Blur class

Units resolve out of a blur, fading in. Each blurred unit costs a layer while its sigma is non-zero, so this is a word- or line-unit effect; on a paragraph of letters it would be a layer per glyph per frame.

Inheritance

Constructors

Blur({double sigma = 10, double fadeFrom = 0, double stagger = 0.4, StaggerOrder order = StaggerOrder.reading, Curve curve = KineticEase.arrive})
Resolve from a blur of sigma pixels, fading from fadeFrom.
const

Properties

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
fadeFrom → double
Starting opacity.
final
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
sigma → double
Starting Gaussian sigma, logical pixels.
final
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

Methods

apply(TextFrame frame, UnitSlice slice) → void
Write this frame's poses, ink passes and decor for slice into frame.
inherited
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. local is the unit's raw 0..1 timeline, eased the same through curve; k is its position in the slice of n.
override
sameStagger(StaggeredEffect other) → bool
True when other staggers the same way — for subclasses' ==.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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