Gets the bounding rectangle of this item when it is rotated.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public virtual RectangleF GetRotatedBounds () |
Visual Basic Copy Code |
---|
Public Overridable Function GetRotatedBounds () As RectangleF |
A rectangle that bounds the rotated shape of the item.
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.
DiagramItem Members
DiagramItem Class
MindFusion.Diagramming Namespace
NetDiagram Programmer's Guide | © 2023 MindFusion |