Edit

SKRotationScaleMatrix.CreateRotation(Single, Single, Single) Method

Definition

Creates a rotation matrix with the specified angle (in radians) around an anchor point.

public static SkiaSharp.SKRotationScaleMatrix CreateRotation(float radians, float anchorX, float anchorY);

Parameters

radians
Single

The rotation angle in radians.

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 rotation.

Applies to