MindFusion.Charting for JavaScript Programmer's Guide
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

Type: Rect
Rect. The Rect instance to inflate.

x

Type: Number
Number. The amount to inflate horizontally.

y

Type: Number
Number. The amount to inflate vertically.

 Return Value

Type: Rect
Rect. The inflated Rect.

 See Also

DrawingUtils Members
DrawingUtils Class
MindFusion.Drawing Namespace