Class RotateTransform
Rotates an Visual.
public sealed class RotateTransform : Transform, INotifyPropertyChanged, IMutableTransform, ITransform
- Inheritance
-
RotateTransform
- Implements
- Inherited Members
- Extension Methods
Constructors
RotateTransform()
Initializes a new instance of the RotateTransform class.
public RotateTransform()
RotateTransform(double)
Initializes a new instance of the RotateTransform class.
public RotateTransform(double angle)
Parameters
angle
doubleThe angle, in degrees.
RotateTransform(double, double, double)
Initializes a new instance of the RotateTransform class.
public RotateTransform(double angle, double centerX, double centerY)
Parameters
angle
doubleThe angle, in degrees.
centerX
doubleThe x-coordinate of the center point for the rotation.
centerY
doubleThe y-coordinate of the center point for the rotation.
Fields
AngleProperty
Defines the Angle property.
public static readonly StyledProperty<double> AngleProperty
Field Value
CenterXProperty
Defines the CenterX property.
public static readonly StyledProperty<double> CenterXProperty
Field Value
CenterYProperty
Defines the CenterY property.
public static readonly StyledProperty<double> CenterYProperty
Field Value
Properties
Angle
Gets or sets the angle of rotation, in degrees.
public double Angle { get; set; }
Property Value
CenterX
Gets or sets the x-coordinate of the rotation center point. The default is 0.
public double CenterX { get; set; }
Property Value
CenterY
Gets or sets the y-coordinate of the rotation center point. The default is 0.
public double CenterY { get; set; }
Property Value
Value
Gets the transform's Matrix.
public override Matrix Value { get; }