SKRotationScaleMatrix.CreateRotation(Single, Single, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a rotation matrix with the specified angle (in radians) around an anchor point.
public static SkiaSharp.SKRotationScaleMatrix CreateRotation(float radians, float anchorX, float anchorY);
Parameters
- radians
- Single
The rotation angle in radians.
- anchorX
- Single
The x-coordinate of the anchor point for rotation.
- anchorY
- Single
The y-coordinate of the anchor point for rotation.
Returns
A new SKRotationScaleMatrix representing the rotation.