Draw triangle

Explanation
Draws a triangular shape with three heads, each head is on a certain position. (x1,y1) represents the first head, (x2,y2) represents the second, and (x3,y3) represents the third. Outline is whether or not the shape will be drawn as an outline, if it is true, the shape will be drawn as an outline, if false, it will be drawn as a full solid object.