Rotation(Double, Double, Double) Method

Definition

Assembly PanAndZoom.dll

Creates a matrix that rotates about a specified center.

public static Matrix Rotation(double angle, double centerX, double centerY)

Parameters

angle
Double

Angle of rotation in radians.

centerX
Double

The center X-coordinate of the rotation.

centerY
Double

The center Y-coordinate of the rotation.

Returns

Avalonia.Matrix
The created rotation matrix.