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.GraphicsAssembly: EasyMap.AddIn (in EasyMap.AddIn.dll) Version: 12.3.0.0
Syntaxpublic static RectangleF Inflate(
RectangleF rect,
float x,
float y
)
Public Shared Function Inflate (
rect As RectangleF,
x As Single,
y As Single
) As RectangleF
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