TransformationMatrixCreateRotation(Single, Vector2) Method

Creates a rotation matrix using the specified angle and center point.

Definition

Namespace: KGySoft.Drawing.Shapes
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public static TransformationMatrix CreateRotation(
	float radians,
	Vector2 centerPoint
)

Parameters

radians  Single
The angle, in radians, by which to rotate the matrix.
centerPoint  Vector2
The center point of the rotation.

Return Value

TransformationMatrix
The rotation matrix.

See Also