Search
Canvas.invalidate Method
See Also
 





Invalidates the canvas or a region of the canvas, causing it to be repainted.

Namespace: MindFusion.Controls
File: Canvas.js

 Syntax

JavaScript  Copy Code

function invalidate ([rect, [force]])

 Parameters

rect
Optional.

Rect. A Rect instance specifying the region that should be repainted. If not specified, the whole diagram will be repainted.

force
Optional.

Boolean. true to force redraw even if currently painting, or false otherwise.

 See Also