DiagramLite Programmer's Guide
DiagramItem.GetRotatedBounds Method
See Also
 





Gets the bounding rectangle of this item when it is rotated.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public abstract Rect GetRotatedBounds ()

Visual Basic  Copy Code

Public MustOverride Function GetRotatedBounds () As Rect

 Return Value

A rectangle that bounds the rotated shape of the item.

 Remarks

This method is invoked during hit-testing to do a quick test whether a point is within the item's bounds, before calling the possibly more time-consuming ContainsPoint method.

 See Also

DiagramItem Members
DiagramItem Class
MindFusion.Diagramming Namespace