Click or drag to resize

RectangleFInflate Method (RectangleF, Single, Single)

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

Namespace:  Easymap.AddIn.Common.Graphics
Assembly:  EasyMap.AddIn (in EasyMap.AddIn.dll) Version: 12.0.0.0
Syntax
public static RectangleF Inflate(
	RectangleF rect,
	float x,
	float y
)

Parameters

rect
Type: Easymap.AddIn.Common.GraphicsRectangleF
The System.Drawing.RectangleF to be copied. This rectangle is not modified.
x
Type: SystemSingle
The amount to inflate the copy of the rectangle horizontally.
y
Type: SystemSingle
The amount to inflate the copy of the rectangle vertically.

Return Value

Type: RectangleF
The inflated System.Drawing.RectangleF.
See Also