SKRotationScaleMatrix.CreateDegrees Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.