Rotate3DTransform Class
Definition
Non-Affine 3D transformation for rotating a visual around a definable axis
public class Rotate3DTransform
Constructors
| Name | Description |
|---|---|
| Rotate3DTransform (2 overloads) | Initializes a new instance of the Avalonia.Media.Rotate3DTransform class. |
Rotate3DTransform overloads
Rotate3DTransform Constructor
Initializes a new instance of the Avalonia.Media.Rotate3DTransform class.
public Rotate3DTransform()
Rotate3DTransform Constructor
Initializes a new instance of the Avalonia.Media.Rotate3DTransform class.
public Rotate3DTransform(double angleX, double angleY, double angleZ, double centerX, double centerY, double centerZ, double depth)
Parameters
angleX double
The rotation around the X-Axis
angleY double
The rotation around the Y-Axis
angleZ double
The rotation around the Z-Axis
centerX double
The origin of the X-Axis
centerY double
The origin of the Y-Axis
centerZ double
The origin of the Z-Axis
depth double
The depth of the 3D effect
Methods
| Name | Description |
|---|---|
| Parse | Parses a Avalonia.Media.Transform string. Inherited from Transform. |
| ToImmutable | Converts a transform to an immutable transform. Inherited from Transform. |
| ToString | Returns a String representing this transform matrix instance. Inherited from Transform. |
| Bind (8 overloads) | Binds a Avalonia.AvaloniaProperty to an Avalonia.Data.BindingBase. Inherited from AvaloniaObject. |
| CheckAccess | Returns a value indicating whether the current thread is the UI thread. Inherited from AvaloniaObject. |
| ClearValue (4 overloads) | Clears a Avalonia.AvaloniaProperty's local value. Inherited from AvaloniaObject. |
| CoerceValue | Coerces the specified Avalonia.AvaloniaProperty. Inherited from AvaloniaObject. |
| Equals | Compares two objects using reference equality. Inherited from AvaloniaObject. |
| GetBaseValue | Inherited from AvaloniaObject. |
| GetHashCode | Gets the hash code for the object. Inherited from AvaloniaObject. |
| GetValue (3 overloads) | Gets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject. |
| IsAnimating | Checks whether a Avalonia.AvaloniaProperty is animating. Inherited from AvaloniaObject. |
| IsSet | Checks whether a Avalonia.AvaloniaProperty is set on this object. Inherited from AvaloniaObject. |
| SetCurrentValue (2 overloads) | Sets the value of a dependency property without changing its value source. Inherited from AvaloniaObject. |
| SetValue (3 overloads) | Sets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject. |
| VerifyAccess | Checks that the current thread is the UI thread and throws if not. Inherited from AvaloniaObject. |
Properties
| Name | Description |
|---|---|
| AngleX | Sets the rotation around the X-Axis |
| AngleY | Sets the rotation around the Y-Axis |
| AngleZ | Sets the rotation around the Z-Axis |
| CenterX | Moves the origin the X-Axis rotates around |
| CenterY | Moves the origin the Y-Axis rotates around |
| CenterZ | Moves the origin the Z-Axis rotates around |
| Depth | Affects the depth of the rotation effect |
| Value | Gets the transform's Avalonia.Matrix. |
| Transitions | Gets or sets the property transitions for the control. Inherited from Animatable. |
| Dispatcher | Returns the Avalonia.AvaloniaObject.Dispatcher that this Avalonia.AvaloniaObject is associated with. Inherited from AvaloniaObject. |
| Item | Inherited from AvaloniaObject. |
AngleX Property
Sets the rotation around the X-Axis
public double AngleX { get; set; }
AngleY Property
Sets the rotation around the Y-Axis
public double AngleY { get; set; }
AngleZ Property
Sets the rotation around the Z-Axis
public double AngleZ { get; set; }
CenterX Property
Moves the origin the X-Axis rotates around
public double CenterX { get; set; }
CenterY Property
Moves the origin the Y-Axis rotates around
public double CenterY { get; set; }
CenterZ Property
Moves the origin the Z-Axis rotates around
public double CenterZ { get; set; }
Depth Property
Affects the depth of the rotation effect
public double Depth { get; set; }