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