Rotation(Double, Vector) Method

Definition

Assembly PanAndZoom.dll

Creates a matrix that rotates about a specified center.

public static Matrix Rotation(double angle, Vector center)

Parameters

angle
Double

Angle of rotation in radians.

center
Avalonia.Vector

The center of the rotation.

Returns

Avalonia.Matrix
The created rotation matrix.