Search
DrawingUtils.inflate Method
See Also
 





Creates and returns an enlarged copy of a Rect instance.

Namespace: MindFusion.Drawing
File: DrawingUtils.js

 Syntax

JavaScript  Copy Code

function inflate (rect, x, y)

 Parameters

rect

Rect. The Rect instance to inflate.

x

Number. The amount to inflate horizontally.

y

Number. The amount to inflate vertically.

 Return Value

Rect. The inflated Rect.

 See Also