Class CubicBezierMotionMapper
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
The CubicBezierMotionMapper class.
public class CubicBezierMotionMapper : IAnimatorMotionMapper
- Inheritance
-
CubicBezierMotionMapper
- Implements
Properties
View SourceX1
The X1 of CubicBezierMotionMapper.
Declaration
public double X1 { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceX2
The X2 of CubicBezierMotionMapper.
Declaration
public double X2 { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceY1
The Y1 of CubicBezierMotionMapper.
Declaration
public double Y1 { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceY2
The Y2 of CubicBezierMotionMapper.
Declaration
public double Y2 { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
Methods
View SourceCalculate(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
Type | Description |
---|---|
Double |