Search
DiagramNode.GetRotatedBounds Method (Rect, Point, Double)
See Also
 





Gets the bounding rectangle of this node, when it is rotated at the specified angle around the specified pivot.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

protected static Rect GetRotatedBounds (
    Rect rect,
    Point center,
    double angle
)

Visual Basic  Copy Code

Protected Shared Function GetRotatedBounds( _
    rect As Rect, _
    center As Point, _
    angle As Double _
) As Rect

 Parameters

rect
The rectangle that will be rotated.
center
The pivot point.
angle
The rotation angle.

 Return Value

A Microsoft.Maui.Graphics.Rect representing the new bounding rectangle.

 See Also