Click or drag to resize

RectangleFInflate Method (SizeF)

Inflates all dimensions of this rectangle by the specified size

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public void Inflate(
	SizeF size
)

Parameters

size
Type: Eto.DrawingSizeF
Size to inflate the rectangle by
Remarks
This inflates the rectangle in all dimensions by the width and height specified by size. The resulting rectangle will be increased in width and height twice that of the specified size, and the center will be in the same location. A negative width and/or height can be passed in to deflate the rectangle.
See Also