Gets the repaint region for this item, taking into account factors such as pen width, selection handles and shadow.
Namespace: MindFusion.Diagramming
File: DiagramItem.js
JavaScript Copy Code |
---|
function getRepaintBounds () |
A Rect specifying the region that should be repainted when this item is modified.
This method is invoked when an item is modified by the user, or when an appearance property of the item changes. The returned region is invalidated and redrawn at the next paint operation.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |