PathInterpolations class

PathInterpolations contains spline and Bézier functions internally used by concrete curve classes.

Constructors

PathInterpolations()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

catmullRom(double t, double p0, double p1, double p2, double p3) → double
t -- interpolation weight.
cubicBezier(double t, double p0, double p1, double p2, double p3) → double
t -- interpolation weight.
cubicBezierP0(double t, double p) → double
cubicBezierP1(double t, double p) → double
cubicBezierP2(double t, double p) → double
cubicBezierP3(double t, double p) → double
quadraticBezier(double t, double p0, double p1, double p2) → double
t -- interpolation weight.
quadraticBezierP0(double t, double p) → double
quadraticBezierP1(double t, double p) → double
quadraticBezierP2(double t, double p) → double