RollMorph class
The odometer. See MorphStyle.roll.
- Inheritance
-
- Object
- MorphStyle
- RollMorph
Constructors
Properties
- baseHash → int
-
The base fields' contribution to
hashCode.no setterinherited - enterCurve → Curve
-
The ease of an arriving unit.
finalinherited
- enterStart → double
-
Where in the run (0..1) the entrance leg starts.
finalinherited
- exitCurve → Curve
-
The ease of a leaving unit.
finalinherited
- exitEnd → double
-
Where in the run (0..1) the exit leg ends. With enterStart a little
before it the hand-over reads as one motion; 1.0 with enterStart 0
runs both legs on one clock (a roll).
finalinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- numeric → bool
-
Read the travel direction from the numbers in the two texts.
no setteroverride
- order → StaggerOrder
-
The order the changed units leave and arrive in.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stagger → double
-
How much of each leg is spent starting units.
finalinherited
Methods
-
enter(
UnitPose pose, double e, double lineHeight, bool up) → void -
The arriving glyph turns in from the opposite step into the window.
override
-
exit(
UnitPose pose, double e, double lineHeight, bool up) → void -
The leaving glyph turns from the window to one drum step away — up when
the value grew (it exits over the top), down when it shrank.
override
-
glint(
double local, int k, int n) → Color? -
A sheen to tint a unit at raw local progress
local(0..1 within its own leg), or null.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sameBase(
MorphStyle other) → bool -
True when
othershares this style's stagger and eases — for==.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override