Invalidates the canvas or a region of the canvas, causing it to be repainted.
Namespace: MindFusion.Controls
File: Canvas.js
SyntaxJavaScript
Copy Code
|
|---|
function invalidate ([rect, [force]]) |
Rect. A Rect instance specifying the region that should be repainted. If not specified, the whole diagram will be repainted.
Boolean. true to force redraw even if currently painting, or false otherwise.
See Also