Skip to content

draw.Triangle

Syntax

draw.Triangle(x1, y1, x2, y2, x3, y3)

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.
x3int
Third point number of x.
y3int
Third point number of y.

Preview