Rotate3DTransition(TimeSpan, PageSlide.SlideAxis, Nullable<Double>) Constructor
Creates a new instance of the Rotate3DTransition
Definition
Namespace: Avalonia.Animation
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Rotate3DTransition(
TimeSpan duration,
PageSlide.SlideAxis orientation = PageSlide.SlideAxis.Horizontal,
double? depth = null
)
Public Sub New (
duration As TimeSpan,
Optional orientation As PageSlide.SlideAxis = PageSlide.SlideAxis.Horizontal,
Optional depth As Double? = Nothing
)
new :
duration : TimeSpan *
?orientation : PageSlide.SlideAxis *
?depth : Nullable<float>
(* Defaults:
let _orientation = defaultArg orientation PageSlide.SlideAxis.Horizontal
let _depth = defaultArg depth null
*)
-> Rotate3DTransition
Parameters
- TimeSpan
- How long the rotation should take place
- PageSlide.SlideAxis (Optional)
- The orientation of the rotation
- Nullable(Double) (Optional)
- 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
See Also
Reference
Rotate3DTransition Class
Rotate3DTransition Overload
Avalonia.Animation Namespace