Threshold class Null safety
A curve that is 0.0 until it hits the threshold, then it jumps to 1.0.
- Inheritance
-
- Object
- ParametricCurve<
double> - Curve
- Threshold
Constructors
Properties
- flipped → Curve
-
Returns a new curve that is the reversed inversion of this one.
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- threshold → double
-
The value before which the curve is 0.0 and after which the curve is 1.0.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transform(
double t) → double -
Returns the value of the curve at point
t
.inherited -
transformInternal(
double t) → double -
Returns the value of the curve at point
t
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited