New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public sealed class RotateTransform : Transform

Inheritance: objectTransformRotateTransform

Inherited Members Transform.TransformBounds(Rect)Transform.TryTransform(Point, out Point)Transform.TransformPoint(Point)Transform.IdentityTransform.Inverse

Constructors

Initializes a new instance of the class.

C#
public RotateTransform()

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

C#
public RotateTransform(double angle, double centerX, double centerY)
Parameters:angledouble

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

centerXdouble

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

centerYdouble

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

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

C#
public RotateTransform(double angle)
Parameters:angledouble

The clockwise rotation angle, in degrees.

Properties

Gets or sets the angle, in degrees, of clockwise rotation.

C#
public double Angle { get; set; }
Property Value:

The angle, in degrees, of clockwise rotation. The default is 0.

Gets or sets the x-coordinate of the rotation center point.

C#
public double CenterX { get; set; }
Property Value:

The x-coordinate of the center of rotation. The default is 0.

Gets or sets the y-coordinate of the rotation center point.

C#
public double CenterY { get; set; }
Property Value:

The y-coordinate of the center of rotation. The default is 0.

Gets the current rotation transformation as a Matrix object.

C#
public override Matrix Value { get; }
Property Value:

The current rotation transformation as a Matrix.

Overrides: Transform.Value

Methods

C#
public Transform CreateInstanceCore()
Returns:

Transform