Creates and returns an inflated copy of the specified RectangleD structure. The copy is inflated by the specified amount. The original rectangle remains unmodified.

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Shared Function Inflate ( _
	rect As RectangleD, _
	x As Double, _
	y As Double _
) As RectangleD
C#
public static RectangleD Inflate(
	RectangleD rect,
	double x,
	double y
)
Visual C++
public:
static RectangleD Inflate(
	RectangleD rect, 
	double x, 
	double y
)
JavaScript
EGIS.ShapeFileLib.RectangleD.inflate = function(rect, x, y);

Parameters

rect
Type: EGIS.ShapeFileLib..::..RectangleD
The RectangleD to be copied. This rectangle is not modified.
x
Type: System..::..Double
The amount to inflate the copy of the rectangle horizontally.
y
Type: System..::..Double
The amount to inflate the copy of the rectangle vertically.

Return Value

The inflated RectangleD.

See Also