Click or drag to resize

RectangleFInflate Method (Single, Single)

Inflates all dimensions of this rectangle by the specified width and height

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public void Inflate(
	float width,
	float height
)

Parameters

width
Type: SystemSingle
Width to inflate the left and right of the rectangle by
height
Type: SystemSingle
Height to inflate the top and bottom of the rectangle by
Remarks
This inflates the rectangle in all dimensions by the specified width and height. 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