Table of Contents

Class AnimateProgressCornerRadius

Namespace
AlohaKit.Animations
Assembly
AlohaKit.Animations.dll

The AnimateProgressCornerRadius class interpolates the corner radius property of a visual element, transitioning from an initial value to a target value as the animation progresses.

public class AnimateProgressCornerRadius : AnimationProgressBaseBehavior, INotifyPropertyChanged
Inheritance
AnimateProgressCornerRadius
Implements
Inherited Members

Fields

FromProperty

Bindable property for specifying the starting corner radius of the animation.

public static readonly BindableProperty FromProperty

Field Value

BindableProperty

ToProperty

Bindable property for specifying the target corner radius of the animation.

public static readonly BindableProperty ToProperty

Field Value

BindableProperty

Properties

From

Gets or sets the starting corner radius of the animation.

public CornerRadius From { get; set; }

Property Value

CornerRadius

To

Gets or sets the target corner radius of the animation.

public CornerRadius To { get; set; }

Property Value

CornerRadius

Methods

OnUpdate()

Updates the target corner radius property value based on the current progress of the animation. Calculates intermediate values using linear interpolation for each corner.

protected override void OnUpdate()