Click or drag to resize

GraphicsPathAddLine 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
public 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

Implements

IGraphicsPathAddLine(Single, Single, Single, Single)
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