draw_triangle()
#
DescriptionDraws a triangle with 3 points (x1,y1), (x2,y2), (x3,y3): x1, y1, x2, y2, x3, y3
.
#
Syntax draw_triangle(x1,y1,x2,y2,x3,y3)
draw_triangle(x1,y1,x2,y2,x3,y3,fill_in=True):
#
Parametersx1: the x coordinate of point 1
y1: the y coordinate of point 1
x2: the x coordinate of point 2
y2: the y coordinate of point 2
x3: the x coordinate of point 3
y3: the y coordinate of point 3
fill_in: Boolean that selects if the triangle will be filled in (white). Default to True.
#
ReturnsNone