Edit

SKRotationScaleMatrix.CreateDegrees Method

Definition

Creates a rotation-scale matrix with the specified scale, rotation (in degrees), translation, and anchor point.

public static SkiaSharp.SKRotationScaleMatrix CreateDegrees(float scale, float degrees, float tx, float ty, float anchorX, float anchorY);

Parameters

scale
Single

The uniform scale factor.

degrees
Single

The rotation angle in degrees.

tx
Single

The x-axis translation component.

ty
Single

The y-axis translation component.

anchorX
Single

The x-coordinate of the anchor point for rotation.

anchorY
Single

The y-coordinate of the anchor point for rotation.

Returns

A new SKRotationScaleMatrix representing the combined transformation.

Applies to