SKMatrix.Rotate 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
Rotate(SKMatrix, Single) |
Obsolete.
Rotates the specified matrix by the specified radians. |
Rotate(SKMatrix, Single, Single, Single) |
Obsolete.
Rotates the specified matrix by the specified radians. |
Rotate(SKMatrix, Single)
Caution
Use CreateRotation(float) instead.
Rotates the specified matrix by the specified radians.
public static void Rotate (ref SkiaSharp.SKMatrix matrix, float radians);
[System.Obsolete("Use CreateRotation(float) instead.")]
public static void Rotate (ref SkiaSharp.SKMatrix matrix, float radians);
Parameters
- matrix
- SKMatrix
The target matrix.
- radians
- Single
The angle for the rotation, in radians.
- Attributes
Applies to
Rotate(SKMatrix, Single, Single, Single)
Caution
Use CreateRotation(float, float, float) instead.
Rotates the specified matrix by the specified radians.
public static void Rotate (ref SkiaSharp.SKMatrix matrix, float radians, float pivotx, float pivoty);
[System.Obsolete("Use CreateRotation(float, float, float) instead.")]
public static void Rotate (ref SkiaSharp.SKMatrix matrix, float radians, float pivotx, float pivoty);
Parameters
- matrix
- SKMatrix
The target matrix.
- radians
- Single
The angle for the rotation, in radians.
- pivotx
- Single
The x-coordinate for the rotation pivot.
- pivoty
- Single
The y-coordinate for the rotation pivot.
- Attributes
Applies to
SkiaSharp