GTweenLerpColor class
A GTweenLerpProp subclass that implements a linear interpolation function for Color objects.
- Inheritance
-
- Object
- GTweenLerpProp<
Color?> - GTweenLerpColor
Constructors
-
GTweenLerpColor({GTweenSetProp<
Color?> ? setProp, GTweenGetProp<Color?> ? getProp}) - Create a new instance of GTweenLerpColor.
Properties
- from ↔ Color?
-
The starting value of the property to be tweened.
getter/setter pairinherited
-
getProp
↔ GTweenGetProp<
Color?> ? -
Getter function to retrieve the current value of the property.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The name of the property to be tweened.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
setProp
↔ GTweenSetProp<
Color?> ? -
Setter function to apply the tweened value to the target object.
getter/setter pairinherited
- to ↔ Color?
-
The target value of the property to be tweened.
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
double ratio) → Color? -
Returns the resolved Color value.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited