Rotate3DTransition Class
Definition
public class Rotate3DTransition
Constructors
| Name | Description |
|---|---|
| Rotate3DTransition (2 overloads) | Creates a new instance of the Avalonia.Animation.Rotate3DTransition |
Rotate3DTransition overloads
Rotate3DTransition Constructor
Creates a new instance of the Avalonia.Animation.Rotate3DTransition
public Rotate3DTransition()
Rotate3DTransition Constructor
public Rotate3DTransition(TimeSpan duration, Avalonia.Animation.PageSlide.SlideAxis orientation, Nullable<double> depth)
Parameters
duration TimeSpan
orientation Avalonia.Animation.PageSlide.SlideAxis
depth Nullable<double>
Methods
| Name | Description |
|---|---|
| Start | No summary available. |
Start Method
public System.Threading.Tasks.Task Start(Avalonia.Visual from, Avalonia.Visual to, bool forward, System.Threading.CancellationToken cancellationToken)
Parameters
from Avalonia.Visual
forward bool
cancellationToken System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task
Properties
| Name | Description |
|---|---|
| Depth | Defines the depth of the 3D Effect. If null, depth will be calculated automatically from the width or height of the common parent of the visual being rotated. |
| Duration | Gets the duration of the animation. Inherited from PageSlide. |
| FillMode | Gets or sets the fill mode applied to both slide animations. Defaults to Avalonia.Animation.FillMode.Forward, which keeps the final transform value after the animation completes and prevents a one-frame flash where the outgoing element snaps back to its original position before IsVisible = false takes effect. Inherited from PageSlide. |
| Orientation | Gets the orientation of the animation. Inherited from PageSlide. |
| SlideInEasing | Gets or sets element entrance easing. Inherited from PageSlide. |
| SlideOutEasing | Gets or sets element exit easing. Inherited from PageSlide. |
Depth Property
Defines the depth of the 3D Effect. If null, depth will be calculated automatically from the width or height of the common parent of the visual being rotated.
public Nullable<double> Depth { get; set; }