ParametricCurve<T> class

An abstract class providing an interface for evaluating a parametric curve.

A parametric curve transforms a parameter (hence the name) t along a curve to the value of the curve at that value of t. The curve can be of arbitrary dimension, but is typically a 1D, 2D, or 3D curve.

See also:

  • Curve, a 1D animation easing curve that starts at 0.0 and ends at 1.0.
  • Curve2D, a parametric curve that transforms the parameter to a 2D point.
Implementers

Constructors

ParametricCurve()
Abstract const constructor to enable subclasses to provide const constructors so that they can be used in const expressions.
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override
transform(double t) → T
Returns the value of the curve at point t. [...]
transformInternal(double t) → T
Returns the value of the curve at point t. [...]
@protected

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited