Skip to content

draw.Line

Syntax

draw.Line(x1, y1, x2, y2)

Parameters

x1int
First point number of x.
y1int
First point number of y.
x2int
Second point number of x.
y2int
Second point number of y.

Preview