SKMatrix.MakeRotation 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
MakeRotation(Single) |
Obsolete.
Creates a matrix that represents a specific rotation in radians. |
MakeRotation(Single, Single, Single) |
Obsolete.
Creates a matrix that represents a specific rotation in radians, around a pivot point. |
MakeRotation(Single)
Caution
Use CreateRotation(float) instead.
Creates a matrix that represents a specific rotation in radians.
public static SkiaSharp.SKMatrix MakeRotation (float radians);
[System.Obsolete("Use CreateRotation(float) instead.")]
public static SkiaSharp.SKMatrix MakeRotation (float radians);
Parameters
- radians
- Single
The angle for the rotation, in radians.
Returns
Returns the new matrix.
- Attributes
Applies to
MakeRotation(Single, Single, Single)
Caution
Use CreateRotation(float, float, float) instead.
Creates a matrix that represents a specific rotation in radians, around a pivot point.
public static SkiaSharp.SKMatrix MakeRotation (float radians, float pivotx, float pivoty);
[System.Obsolete("Use CreateRotation(float, float, float) instead.")]
public static SkiaSharp.SKMatrix MakeRotation (float radians, float pivotx, float pivoty);
Parameters
- 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.
Returns
Returns the new matrix.
- Attributes
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per