Creates and returns an enlarged copy of a Rect instance.
Namespace: MindFusion.Drawing
File: DrawingUtils.js
JavaScript Copy Code |
---|
function inflate (rect, x, y) |
Type: Rect
Rect. The Rect instance to inflate.
Type: Number
Number. The amount to inflate horizontally.
Type: Number
Number. The amount to inflate vertically.
Type: Rect
Rect. The inflated Rect.