Table of Contents

Method IsRotationIdentity

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

IsRotationIdentity()

Determines whether the current transformation matrix represents an identity rotation.

public readonly bool IsRotationIdentity()

Returns

bool

true if the matrix has no rotational transformation; otherwise, false.

Remarks

This method checks the rotational components M11 and M21 of the matrix. If M11 is approximately 1 and M21 is approximately 0, the matrix is considered to have no rotation.