Editar

Compartilhar via


SKMatrix.MakeRotation Method

Definition

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