SKRotationScaleMatrix.CreateRotationDegrees(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 degrees) around an anchor point.
public static SkiaSharp.SKRotationScaleMatrix CreateRotationDegrees(float degrees, float anchorX, float anchorY);
Parameters
- degrees
- Single
The rotation angle in degrees.
- 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.