Table of Contents

Method GetRotationAngleInRadians

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

GetRotationAngleInRadians()

Extracts the clockwise rotation angle in radians from the transform matrix. Compatible with wxGraphicsContext::DrawText angle parameter.

public readonly float GetRotationAngleInRadians()

Returns

float

The rotation angle in radians. Returns 0 if the matrix has no rotation.