Summary
Determines how an animation is used based on a cubic bezier curve.
X1 and X2 must be between 0.0 and 1.0, inclusive.
See https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.animation.keyspline
- Namespace
- Avalonia
.Animation - Interfaces
-
- IAvaloniaObject
- IAvaloniaObjectDebug
- I
Notify Property Changed - IValueSink
- Base Types
-
- object
- AvaloniaObject
graph BT
Type-->Base0["AvaloniaObject"]
click Base0 "/api/Avalonia/AvaloniaObject"
Base0-->Base1["object"]
Type-.->Interface0["IAvaloniaObject"]
click Interface0 "/api/Avalonia/IAvaloniaObject"
Type-.->Interface1["IAvaloniaObjectDebug"]
click Interface1 "/api/Avalonia.Diagnostics/IAvaloniaObjectDebug"
Type-.->Interface2["INotifyPropertyChanged"]
Type-.->Interface3["IValueSink"]
Type["KeySpline"]
class Type type-node
Syntax
[TypeConverter(typeof(KeySplineTypeConverter))]
public class KeySpline : AvaloniaObject, IAvaloniaObject, IAvaloniaObjectDebug,
INotifyPropertyChanged, IValueSink
Attributes
Type | Description |
---|---|
TypeConverter |
Constructors
Name | Summary |
---|---|
KeySpline |
Create a KeySpline with X1 = Y1 = 0 and X2 = Y2 = 1.
|
KeySpline |
Create a KeySpline with the given parameters
|
Events
Name | Type | Summary |
---|---|---|
PropertyChanged | EventHandler |
Raised when a
AvaloniaProperty value changes on this object.
Inherited from AvaloniaObject
|
Properties
Name | Value | Summary |
---|---|---|
ControlPointX1 | double |
X coordinate of the first control point
|
ControlPointX2 | double |
X coordinate of the second control point
|
ControlPointY1 | double |
Y coordinate of the first control point
|
ControlPointY2 | double |
Y coordinate of the second control point
|
InheritanceParent | IAvaloniaObject |
Gets or sets the parent object that inherited
AvaloniaProperty values
are inherited from.
Inherited from AvaloniaObject
|
this[ |
object |
Gets or sets the value of a
AvaloniaProperty .
Inherited from AvaloniaObject
|
this[ |
IBinding |
Gets or sets a binding for a
AvaloniaProperty .
Inherited from AvaloniaObject
|