Click or drag to resize

GraphicsFillRectangle Method (Brush, Single, Single, Single, Single)

Fills a rectangle with the specified brush

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public void FillRectangle(
	Brush brush,
	float x,
	float y,
	float width,
	float height
)

Parameters

brush
Type: Eto.DrawingBrush
Brush to fill the rectangle
x
Type: SystemSingle
X co-ordinate
y
Type: SystemSingle
Y co-ordinate
width
Type: SystemSingle
Width of the rectangle
height
Type: SystemSingle
Height of the rectangle
See Also