http://legacy.gamebuino.com/wiki/index.php?title=Gb.display.drawTriangle&feed=atom&action=historyGb.display.drawTriangle - Revision history2024-03-29T12:16:27ZRevision history for this page on the wikiMediaWiki 1.29.1http://legacy.gamebuino.com/wiki/index.php?title=Gb.display.drawTriangle&diff=723&oldid=prevMatrix828: Creation2014-08-04T23:47:18Z<p>Creation</p>
<p><b>New page</b></p><div>{{lowercase}}<br />
__NOTOC__<br />
== Description ==<br />
Draws a triangle at a specified location. The color used is defined using <code>[[gb.display.setColor]]()</code>.<br />
If you specify values that cause parts of the triangle to be off screen, then they will not be rendered.<br />
<br />
== Syntax ==<br />
<pre>gb.display.drawTriangle(x0, y0, x1, y1, x2, y2);</pre><br />
<br />
== Parameters ==<br />
* x0: horizontal coordinate of the 1st corner.<br />
* y0: vertical coordinate of the 1st corner.<br />
* x1: horizontal coordinate of the 2nd corner.<br />
* y1: vertical coordinate of the 2nd corner.<br />
* x2: horizontal coordinate of the 3rd corner.<br />
* y2: vertical coordinate of the 3rd corner.<br />
<br />
== Returns ==<br />
none<br />
<br />
== Example ==<br />
<br />
== See also ==<br />
* [[gb.display.setColor]]</div>Matrix828