Class CubicBezierMotionMapper

Definition

Namespace:
ElmSharp
Assembly:
ElmSharp.dll
API Level:
preview

The CubicBezierMotionMapper class.

C#
Copy
public class CubicBezierMotionMapper : IAnimatorMotionMapper
Inheritance
CubicBezierMotionMapper
Implements

Properties

View Source

X1

The X1 of CubicBezierMotionMapper.

Declaration
C#
Copy
public double X1 { get; set; }
Property Value
Type Description
System.Double
API Level: preview
View Source

X2

The X2 of CubicBezierMotionMapper.

Declaration
C#
Copy
public double X2 { get; set; }
Property Value
Type Description
System.Double
API Level: preview
View Source

Y1

The Y1 of CubicBezierMotionMapper.

Declaration
C#
Copy
public double Y1 { get; set; }
Property Value
Type Description
System.Double
API Level: preview
View Source

Y2

The Y2 of CubicBezierMotionMapper.

Declaration
C#
Copy
public double Y2 { get; set; }
Property Value
Type Description
System.Double
API Level: preview

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
C#
Copy
public double Calculate(double position)
Parameters
Type Name Description
System.Double position
Returns
Type Description
System.Double
API Level: preview

Implements