UnitBezier class final
A timing curve from (0, 0) to (1, 1), with the control points (x1, y1)
and (x2, y2).
x1 and x2 are between 0 and 1.
See mln_unit_bezier in the
C API reference.
Constructors
- UnitBezier({double x1 = 0, double y1 = 0, double x2 = 0, double y2 = 0})
-
const
Properties
Methods
-
copyWith(
{double? x1, double? y1, double? x2, double? y2}) → UnitBezier - A copy of this value with the given members replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited