LineTo

Path2D.LineTo method

Connects the last point in the subpath to the x, y coordinates with a straight line.

public void LineTo(double x, double y)
Parameter Type Description
x Double The x axis of the coordinate for the end of the line.
y Double The y axis of the coordinate for the end of the line.

See Also