Gets the bounding rectangle of this item when it is rotated.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
SyntaxC#
Copy Code
|
|---|
public override Rect GetRotatedBounds () |
Visual Basic
Copy Code
|
|---|
Public Overrides Function GetRotatedBounds () As Rect |
A rectangle that bounds the rotated shape of the item.
RemarksThis 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