Edit

Share via


RotateTransform Constructors

Definition

Initializes a new instance of the RotateTransform class.

Overloads

RotateTransform()

Initializes a new instance of the RotateTransform class.

RotateTransform(Double)

Initializes a new instance of the RotateTransform class that has the specified angle, in degrees, of clockwise rotation. The rotation is centered on the origin, (0,0).

RotateTransform(Double, Double, Double)

Initializes a new instance of the RotateTransform class that has the specified angle and center point.

Remarks

The clockwise rotation angle is measured in degrees. The default center of rotation is the origin.

RotateTransform()

Initializes a new instance of the RotateTransform class.

public:
 RotateTransform();
public RotateTransform ();
Public Sub New ()

Applies to

RotateTransform(Double)

Initializes a new instance of the RotateTransform class that has the specified angle, in degrees, of clockwise rotation. The rotation is centered on the origin, (0,0).

public:
 RotateTransform(double angle);
public RotateTransform (double angle);
new System.Windows.Media.RotateTransform : double -> System.Windows.Media.RotateTransform
Public Sub New (angle As Double)

Parameters

angle
Double

The clockwise rotation angle, in degrees.

Applies to

RotateTransform(Double, Double, Double)

Initializes a new instance of the RotateTransform class that has the specified angle and center point.

public:
 RotateTransform(double angle, double centerX, double centerY);
public RotateTransform (double angle, double centerX, double centerY);
new System.Windows.Media.RotateTransform : double * double * double -> System.Windows.Media.RotateTransform
Public Sub New (angle As Double, centerX As Double, centerY As Double)

Parameters

angle
Double

The clockwise rotation angle, in degrees. For more information, see the Angle property.

centerX
Double

The x-coordinate of the center point for the RotateTransform. For more information, see the CenterX property.

centerY
Double

The y-coordinate of the center point for the RotateTransform. For more information, see the CenterY property.

Applies to