SplineEasing Class

Summary

Eases a double value using a user-defined cubic bezier curve. Good for custom easing functions that doesn't quite fit with the built-in ones.
Namespace
Avalonia.Animation.Easings
Interfaces
Base Types
graph BT Type-->Base0["Easing"] click Base0 "/api/Avalonia.Animation.Easings/Easing" Base0-->Base1["object"] Type-.->Interface0["IEasing"] click Interface0 "/api/Avalonia.Animation.Easings/IEasing" Type["SplineEasing"] class Type type-node

Syntax

public class SplineEasing : Easing, IEasing

Constructors

Properties

Name Value Summary
X1 double
X coordinate of the first control point
X2 double
X coordinate of the second control point
Y1 double
Y coordinate of the first control point
Y2 double
Y coordinate of the second control point

Methods

Name Value Summary
Ease(double) double
Returns the value of the transition for the specified progress.
Parse(string) Easing
Parses a Easing type string.
Inherited from Easing
static