Skip to main content

VectorKeyFrameAnimation Class

Definition​

Assembly:Avalonia.Base
Package:Avalonia
public class VectorKeyFrameAnimation

Inheritance: object -> CompositionObject -> CompositionAnimation -> KeyFrameAnimation -> VectorKeyFrameAnimation

Constructors​

NameDescription
VectorKeyFrameAnimationNo summary available.

VectorKeyFrameAnimation Constructor​

public VectorKeyFrameAnimation(Avalonia.Rendering.Composition.Compositor compositor)

Parameters​

compositor Avalonia.Rendering.Composition.Compositor

Methods​

NameDescription
ClearAllParametersClears all of the parameters of the animation. Inherited from CompositionAnimation.
ClearParameterClears a parameter from the animation. Inherited from CompositionAnimation.
InsertExpressionKeyFrameInserts an expression keyframe. Inherited from KeyFrameAnimation.
InsertKeyFrame (2 overloads)No summary available.
SetColorParameterInherited from CompositionAnimation.
SetMatrix3x2ParameterInherited from CompositionAnimation.
SetMatrix4x4ParameterInherited from CompositionAnimation.
SetQuaternionParameterInherited from CompositionAnimation.
SetReferenceParameterInherited from CompositionAnimation.
SetScalarParameterInherited from CompositionAnimation.
SetVector2ParameterInherited from CompositionAnimation.
SetVector3ParameterInherited from CompositionAnimation.
SetVector4ParameterInherited from CompositionAnimation.
StartAnimationConnects an animation with the specified property of the object and starts the animation. Inherited from CompositionObject.
StartAnimationGroupStarts an animation group. The StartAnimationGroup method on CompositionObject lets you start CompositionAnimationGroup. All the animations in the group will be started at the same time on the object. Inherited from CompositionObject.
StopAnimationDisconnects an animation from the specified property and stops the animation. Inherited from CompositionObject.
StopAnimationGroupStops an animation group. Inherited from CompositionObject.

InsertKeyFrame overloads​

InsertKeyFrame Method​

public void InsertKeyFrame(float normalizedProgressKey, Avalonia.Vector value)
Parameters​

normalizedProgressKey float

value Avalonia.Vector

InsertKeyFrame Method​

public void InsertKeyFrame(float normalizedProgressKey, Avalonia.Vector value, Avalonia.Animation.Easings.IEasing easingFunction)
Parameters​

normalizedProgressKey float

value Avalonia.Vector

easingFunction Avalonia.Animation.Easings.IEasing

Properties​

NameDescription
CompositorThe associated Compositor Inherited from CompositionObject.
DelayBehaviorThe delay behavior of the key frame animation. Inherited from KeyFrameAnimation.
DelayTimeDelay before the animation starts after Avalonia.Rendering.Composition.CompositionObject.StartAnimation(string,Avalonia.Rendering.Composition.Animations.CompositionAnimation) is called. Inherited from KeyFrameAnimation.
DirectionThe direction the animation is playing. The Direction property allows you to drive your animation from start to end or end to start or alternate between start and end or end to start if animation has an Avalonia.Rendering.Composition.Animations.KeyFrameAnimation.IterationCount greater than one. This gives an easy way for customizing animation definitions. Inherited from KeyFrameAnimation.
DurationThe duration of the animation. Minimum allowed value is 1ms and maximum allowed value is 24 days. Inherited from KeyFrameAnimation.
ImplicitAnimationsThe collection of implicit animations attached to this object. Inherited from CompositionObject.
IsDisposedInherited from CompositionObject.
IterationBehaviorThe iteration behavior for the key frame animation. Inherited from KeyFrameAnimation.
IterationCountThe number of times to repeat the key frame animation. Inherited from KeyFrameAnimation.
StopBehaviorSpecifies how to set the property value when animation is stopped Inherited from KeyFrameAnimation.
TargetInherited from CompositionAnimation.