Click or drag to resize

GraphicsDrawLine Method (Color, Single, Single, Single, Single)

Draws a 1 pixel wide line with the specified color

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public void DrawLine(
	Color color,
	float startx,
	float starty,
	float endx,
	float endy
)

Parameters

color
Type: Eto.DrawingColor
Color of the line
startx
Type: SystemSingle
X co-ordinate of the starting point
starty
Type: SystemSingle
Y co-ordinate of the starting point
endx
Type: SystemSingle
X co-ordinate of the ending point
endy
Type: SystemSingle
Y co-ordinate of the ending point
See Also