SKMatrix.MakeRotation Method

Definition

Overloads

MakeRotation(Single)

Creates a matrix that represents a specific rotation in radians.

MakeRotation(Single, Single, Single)

Creates a matrix that represents a specific rotation in radians, around a pivot point.

MakeRotation(Single)

Creates a matrix that represents a specific rotation in radians.

public static SkiaSharp.SKMatrix MakeRotation (float radians);

Parameters

radians
Single

The angle for the rotation, in radians.

Returns

Returns the new matrix.

MakeRotation(Single, Single, Single)

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);

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.

Applies to