TransformationMatrixCreateRotationDegrees(Single, Vector2) Method
Creates a rotation matrix using the specified angle and center point.
Namespace: KGySoft.Drawing.ShapesAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
public static TransformationMatrix CreateRotationDegrees(
float angle,
Vector2 centerPoint
)
Public Shared Function CreateRotationDegrees (
angle As Single,
centerPoint As Vector2
) As TransformationMatrix
public:
static TransformationMatrix CreateRotationDegrees(
float angle,
Vector2 centerPoint
)
static member CreateRotationDegrees :
angle : float32 *
centerPoint : Vector2 -> TransformationMatrix
- angle Single
- The angle, in degrees, by which to rotate the matrix.
- centerPoint Vector2
- The center point of the rotation.
TransformationMatrixThe rotation matrix.