Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
The CubicBezierMotionMapper class.
public class CubicBezierMotionMapper : IAnimatorMotionMapper
- Inheritance
-
object
CubicBezierMotionMapper
- Implements
-
Properties
Declaration
public double X1 { get; set; }
Property Value
Declaration
public double X2 { get; set; }
Property Value
Declaration
public double Y1 { get; set; }
Property Value
Declaration
public double Y2 { get; set; }
Property Value
Methods
View Source
Calculate(double)
Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.
Declaration
public double Calculate(double position)
Parameters
| Type |
Name |
Description |
| double |
position |
|
Returns
Implements