TransformationMatrixCreateRotation(Single, PointF) 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 CreateRotation(
float radians,
PointF centerPoint
)
Public Shared Function CreateRotation (
radians As Single,
centerPoint As PointF
) As TransformationMatrix
public:
static TransformationMatrix CreateRotation(
float radians,
PointF centerPoint
)
static member CreateRotation :
radians : float32 *
centerPoint : PointF -> TransformationMatrix
- radians Single
- The angle, in radians, by which to rotate the matrix.
- centerPoint PointF
- The center point of the rotation.
TransformationMatrixThe rotation matrix.