ASP.NET Pack Programmer's Guide
DiagramNode.GetRotatedBounds Method (RectangleF, PointF, Single)
See Also
 





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

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

protected static RectangleF GetRotatedBounds (
    RectangleF rect,
    PointF center,
    float angle
)

Visual Basic  Copy Code

Protected Shared Function GetRotatedBounds( _
    rect As RectangleF, _
    center As PointF, _
    angle As Single _
) As RectangleF

 Parameters

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

 Return Value

A RectangleF representing the new bounding rectangle.

 See Also

GetRotatedBounds Method Overload List
DiagramNode Members
DiagramNode Class
MindFusion.Diagramming Namespace