[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.Matrix.Rotate

Rotate Method

Rotate(double)

Applies the rotation transformation.

Declaration
public Matrix Rotate(double radians)
Parameters
Type Name Description
double radians

Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis.

Returns
Type Description
Matrix

The rotated matrix.

Rotate(double, PointF)

Applies the rotation transformation.

Declaration
public Matrix Rotate(double radians, PointF centerPoint)
Parameters
Type Name Description
double radians

Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis.

PointF centerPoint

The center offset.

Returns
Type Description
Matrix

The rotated matrix.

Rotate(double, double, double)

Applies the rotation transformation.

Declaration
public Matrix Rotate(double radians, double cx, double cy)
Parameters
Type Name Description
double radians

Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis.

double cx

X-coordinate of the center offset.

double cy

Y-coordinate of the center offset.

Returns
Type Description
Matrix

The rotated matrix.