Skip to main content
All docs
V24.2

DXMatrix.Rotate(Single, DXMatrixOrder) Method

Applies a clockwise rotation to the specified angle around the origin (zero x and y coordinates).

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.2.dll

NuGet Package: DevExpress.Drawing

#Declaration

public void Rotate(
    float angle,
    DXMatrixOrder order = DXMatrixOrder.Prepend
)

#Parameters

Name Type Description
angle Single

The angle (extent) of the rotation, in degrees.

#Optional Parameters

Name Type Default Description
order DXMatrixOrder Prepend

An enumeration value that indicates the order (append or prepend) in which the rotation is applied.

See Also