<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://miniscript.org/w/index.php?action=history&amp;feed=atom&amp;title=PixelDisplay.drawPoly</id>
	<title>PixelDisplay.drawPoly - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://miniscript.org/w/index.php?action=history&amp;feed=atom&amp;title=PixelDisplay.drawPoly"/>
	<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.drawPoly&amp;action=history"/>
	<updated>2026-04-23T20:42:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.drawPoly&amp;diff=492&amp;oldid=prev</id>
		<title>ZachStrout at 00:06, 29 April 2020</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.drawPoly&amp;diff=492&amp;oldid=prev"/>
		<updated>2020-04-29T00:06:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 00:06, 29 April 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;c&amp;gt;PixelDisplay.drawPoly&amp;lt;/c&amp;gt; draws (outlines) a polygon on the pixel display.  The ''points'' argument can be either a list of maps containing &amp;quot;x&amp;quot; and &amp;quot;y&amp;quot; values, or a list of 2-element&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;c&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/ins&gt;PixelDisplay&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]]&lt;/ins&gt;.drawPoly&amp;lt;/c&amp;gt; draws (outlines) a polygon on the pixel display.  The ''points'' argument can be either a list of maps containing &amp;quot;x&amp;quot; and &amp;quot;y&amp;quot; values, or a list of 2-element&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;lists interpreted as [''x'', ''y''].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;lists interpreted as [''x'', ''y''].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.drawPoly&amp;diff=491&amp;oldid=prev</id>
		<title>ZachStrout: Created page with &quot;&lt;c&gt;PixelDisplay.drawPoly&lt;/c&gt; draws (outlines) a polygon on the pixel display.  The ''points'' argument can be either a list of maps containing &quot;x&quot; and &quot;y&quot; values, or a list of...&quot;</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.drawPoly&amp;diff=491&amp;oldid=prev"/>
		<updated>2020-04-29T00:06:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.drawPoly&amp;lt;/c&amp;gt; draws (outlines) a polygon on the pixel display.  The &amp;#039;&amp;#039;points&amp;#039;&amp;#039; argument can be either a list of maps containing &amp;quot;x&amp;quot; and &amp;quot;y&amp;quot; values, or a list of...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;c&amp;gt;PixelDisplay.drawPoly&amp;lt;/c&amp;gt; draws (outlines) a polygon on the pixel display.  The ''points'' argument can be either a list of maps containing &amp;quot;x&amp;quot; and &amp;quot;y&amp;quot; values, or a list of 2-element&lt;br /&gt;
lists interpreted as [''x'', ''y''].&lt;br /&gt;
&lt;br /&gt;
=== Arguments ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter Name !! Type !! Default Value !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| ''points'' || list ||  || list of three or more points &lt;br /&gt;
|-&lt;br /&gt;
| ''color'' || type || self.color || color to draw&lt;br /&gt;
|-&lt;br /&gt;
| ''penSize'' || number || 1 || width of line to draw&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
The polygon is automatically closed; there is no need to repeat the first point&lt;br /&gt;
at the end of the list.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;gfx.drawPoly [[10,100], [200,500], [390,100]]		// draws a triangle&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
</feed>