Edit

SKRotationScaleMatrix.Create Method

Definition

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

public static SkiaSharp.SKRotationScaleMatrix Create(float scale, float radians, float tx, float ty, float anchorX, float anchorY);

Parameters

scale
Single

The uniform scale factor.

radians
Single

The rotation angle in radians.

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