Class CubicBezierTimingFunction
Constructors
Name | Description |
---|---|
this
(x1, y1, x2, y2)
|
Initialize with cubic bezier control points |
Fields
5 inherited fields
Methods
Name | Description |
---|---|
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.
|