SKMatrix.Rotate Method

Definition

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