GM: draw triangle color
From GMpedia.org Wiki
- The correct title of this article is draw_triangle_color(x1,y1,x2,y2,x3,y3,c1,c2,c3,outline). It appears incorrectly here because of technical restrictions.
- The correct title of this article is draw_triangle(). It appears incorrectly here because of technical restrictions.
Arguments
x1, y1 = Horizontal / vertical position of first point. x2, y2 = Horizontal / vertical position of second point. x3, y3 = Horizontal / vertical position of third point. c1 = Colour of first side of triangle. c2 = Colour of second side of triangle. c3 = Colour of third side of triangle. outline = true / false. Whether the triangle is drawn as a thin line or filled in the current colour. [true=no fill / false = fill in current colour]
Limitations
must be in Draw Event or used with Surfaces.
Note: Please remove limitations and port them in the "Remarks" section at the end of the article.
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. The three colors will be drawn at each side of the triangle where colour 1 is at x1,y1's side, colour 2 is at x2,y2's side, and colour 3 is at x3,y3's side.
[edit] See Also
See the talk page for details

