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.ShapeFileLibAssembly: EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)
Syntax
| Visual Basic (Declaration) |
|---|
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 ) |
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.