Search
MatrixExtensions.RotateAt Method
See Also
 





Rotates this matrix about a specified point.

Namespace: MindFusion.Diagramming.Avalonia
Assembly: MindFusion.Diagramming.Avalonia

 Syntax

C#  Copy Code

public static Matrix RotateAt (
    Matrix matrix,
    double angle,
    double centerX,
    double centerY
)

Visual Basic  Copy Code

Public Shared Function RotateAt( _
    matrix As Matrix, _
    angle As Double, _
    centerX As Double, _
    centerY As Double _
) As Matrix

 Parameters

matrix

The matrix to rotate.

angle

The angle of rotation, in degrees.

centerX

The x-coordinate of the center of rotation.

centerY

The y-coordinate of the center of rotation.

 Return Value

The rotated matrix.

 See Also