Skip to main content

CreateRotation(Double, Point) Method

Creates a rotation matrix using the given rotation in radians around center point.

Definition​

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static Matrix CreateRotation(
double radians,
Point center
)

Parameters​

  Double
The amount of rotation, in radians.
  Point
The location of center point.

Return Value​

Matrix

See Also​

Reference​

Matrix Structure
CreateRotation Overload
Avalonia Namespace