Click or drag to resize

RectangleFInflate(RectangleF, Single, Single) Method

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.3.0.0
Syntax
public static RectangleF Inflate(
	RectangleF rect,
	float x,
	float y
)

Parameters

rect  RectangleF
The System.Drawing.RectangleF to be copied. This rectangle is not modified.
x  Single
The amount to inflate the copy of the rectangle horizontally.
y  Single
The amount to inflate the copy of the rectangle vertically.

Return Value

RectangleF
The inflated System.Drawing.RectangleF.
See Also