Search
DiagramItem.getRepaintBounds Method
See Also
 





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

 Syntax

JavaScript  Copy Code

function getRepaintBounds ()

 Return Value

Rect specifying the region that should be repainted when this item is modified.

 Remarks

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.

 See Also