Click or drag to resize

IGraphicsPathAddLine Method

Adds a line to the path with the specified start and end points

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
void AddLine(
	float startX,
	float startY,
	float endX,
	float endY
)

Parameters

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 end point
endY
Type: SystemSingle
Y co-ordinate of the end point
Remarks
If the current figure is not closed, it will connect with the start of this line. The current position will be moved to the specified end location.
See Also