Skip to main content

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)

public Rotate3DTransition(
TimeSpan duration,
PageSlide.SlideAxis orientation = PageSlide.SlideAxis.Horizontal,
double? depth = null
)

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