SKMatrix.CreateRotationDegrees 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.
Overloads
| Name | Description |
|---|---|
| CreateRotationDegrees(Single, Single, Single) |
Creates a rotation matrix around a pivot point. |
| CreateRotationDegrees(Single) |
Creates a rotation matrix. |
CreateRotationDegrees(Single, Single, Single)
Creates a rotation matrix around a pivot point.
public static SkiaSharp.SKMatrix CreateRotationDegrees(float degrees, float pivotX, float pivotY);
Parameters
- degrees
- Single
The rotation angle in degrees.
- pivotX
- Single
The x-coordinate of the pivot point.
- pivotY
- Single
The y-coordinate of the pivot point.
Returns
Returns the new rotation matrix.