KeyFrameAnimationInsertExpressionKeyFrame Method

Inserts an expression keyframe.

Definition

Namespace: Avalonia.Rendering.Composition.Animations
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public void InsertExpressionKeyFrame(
	float normalizedProgressKey,
	string value,
	Easing? easingFunction = null
)

Parameters

normalizedProgressKey  Single
The time the key frame should occur at, expressed as a percentage of the animation Duration. Allowed value is from 0.0 to 1.0.
value  String
The expression used to calculate the value of the key frame.
easingFunction  Easing  (Optional)
The easing function to use when interpolating between frames.

See Also