Path2D.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)
ParameterTypeDescription
xDoubleThe x axis of the coordinate for the end of the line.
yDoubleThe y axis of the coordinate for the end of the line.

See Also