Class CubicBezierTimingFunction

class CubicBezierTimingFunction
  : TimingFunction

Constructors

NameDescription
this (x1, y1, x2, y2) Initialize with cubic bezier control points

Fields

5 inherited fields

Methods

NameDescription
get (x) Evaluate y for a given x. x must be in [0, 1] range.
sampleCurveDerivativeX (t)
sampleCurveDerivativeY (t)
sampleCurveX (t) Get x curve value by parameter
sampleCurveY (t) Get y curve value by parameter
solveCurveX (x) Find parametric value t for a given x. x must be in [0, 1] range.