Path.LineTo Method (Single, Single)

Adds a line to the path.

Namespace: Aurigma.GraphicsMill.AdvancedDrawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public void LineTo(
	float x,
	float y
)

Parameters

x

Type: System.Single

The x-coordinate of the line ending point.
y

Type: System.Single

The y-coordinate of the line ending point.

Remarks

The starting point of the line is the last point in the path.

Examples

C#
var path = new Path();
path.MoveTo(10, 10);
path.LineTo(70, 60);

See Also

Reference

Manual