Click or drag to resize

GraphicsDrawRectangle Method (Color, Single, Single, Single, Single)

Draws a 1 pixel wide outline of a rectangle with the specified color

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

Parameters

color
Type: Eto.DrawingColor
Color for the outline
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