Click or drag to resize

Graphics.FillRectangle Method (Color, Single, Single, Single, Single)

Fills a rectangle with the specified color

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

Parameters

color
Type: Eto.Drawing.Color
Fill color
x
Type: System.Single
X co-ordinate
y
Type: System.Single
Y co-ordinate
width
Type: System.Single
Width of the rectangle
height
Type: System.Single
Height of the rectangle
See Also