<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://miniscript.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ZachStrout</id>
	<title>MiniScript Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://miniscript.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ZachStrout"/>
	<link rel="alternate" type="text/html" href="http://miniscript.org/wiki/Special:Contributions/ZachStrout"/>
	<updated>2026-04-23T19:10:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.print&amp;diff=512</id>
		<title>PixelDisplay.print</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.print&amp;diff=512"/>
		<updated>2020-05-01T03:34:11Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.print&amp;lt;/c&amp;gt; draws some text to the pixel display.  === Arguments ===  {| class=&amp;quot;wikitable&amp;quot; |- ! Parameter Name !! Type !! Default Value !! Meaning |- | ''str...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].print&amp;lt;/c&amp;gt; draws some text to the pixel display.&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;
| ''str'' || string || &amp;quot;&amp;quot; || string to draw&lt;br /&gt;
|-&lt;br /&gt;
| ''x'' || number || 0 || horizontal position at which to start drawing&lt;br /&gt;
|-&lt;br /&gt;
| ''y'' || number || 0 || vertical position of bottom of string drawn&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
By default this method uses the same font seen in a [[TextDisplay]],&lt;br /&gt;
but you may get a larger or smaller font using the ''fontName'' parameter.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.getImage&amp;diff=511</id>
		<title>PixelDisplay.getImage</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.getImage&amp;diff=511"/>
		<updated>2020-05-01T03:32:03Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].getImage&amp;lt;/c&amp;gt; returns a portion of the pixel display as an [[Image]].&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;
| ''left'' || number || 0 || left side of display area to get&lt;br /&gt;
|-&lt;br /&gt;
| ''bottom'' || number || 0 || bottom side of display area to get&lt;br /&gt;
|-&lt;br /&gt;
| ''width'' || number || 960 || width side of display area to get&lt;br /&gt;
|-&lt;br /&gt;
| ''height'' || number || 640 || height side of display area to get&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
Note that this works even for a display that is not visible (because it is covered by another&lt;br /&gt;
display, or has been turned [[DisplayMode|off]].  This allows you to use&lt;br /&gt;
a PixelDisplay as an area to create images at runtime, using any combination&lt;br /&gt;
of drawing methods, and then capture the result for use as a [[Sprite]], or&lt;br /&gt;
to [[File.saveImage|save]] to disk, etc.&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.getImage&amp;diff=510</id>
		<title>PixelDisplay.getImage</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.getImage&amp;diff=510"/>
		<updated>2020-05-01T03:29:55Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.getImage&amp;lt;/c&amp;gt; returns a portion of the pixel display as an Image.  === Arguments ===  {| class=&amp;quot;wikitable&amp;quot; |- ! Parameter Name !! Type !! Default Value !! M...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;PixelDisplay.getImage&amp;lt;/c&amp;gt; returns a portion of the pixel display as an [[Image]].&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;
| ''left'' || number || 0 || left side of display area to get&lt;br /&gt;
|-&lt;br /&gt;
| ''bottom'' || number || 0 || bottom side of display area to get&lt;br /&gt;
|-&lt;br /&gt;
| ''width'' || number || 960 || width side of display area to get&lt;br /&gt;
|-&lt;br /&gt;
| ''height'' || number || 640 || height side of display area to get&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
Note that this works even for a display that is not visible (because it is covered by another&lt;br /&gt;
display, or has been turned [[DisplayMode|off]].  This allows you to use&lt;br /&gt;
a PixelDisplay as an area to create images at runtime, using any combination&lt;br /&gt;
of drawing methods, and then capture the result for use as a [[Sprite]], or&lt;br /&gt;
to [[File.saveImage|save]] to disk, etc.&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.drawImage&amp;diff=509</id>
		<title>PixelDisplay.drawImage</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.drawImage&amp;diff=509"/>
		<updated>2020-05-01T03:27:37Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.drawImage&amp;lt;/c&amp;gt; draws an Image, or a portion of an Image, to the pixel display.  === Arguments ===  {| class=&amp;quot;wikitable&amp;quot; |- ! Parameter Name !! Type !! D...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].drawImage&amp;lt;/c&amp;gt; draws an [[Image]], or a portion of an Image, to the pixel display.&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;
| ''image'' || image || 0 || picture to draw&lt;br /&gt;
|-&lt;br /&gt;
| ''left'' || number || 0 || left side of destination area in the display&lt;br /&gt;
|-&lt;br /&gt;
| ''bottom'' || number || 0 || bottom of destination area in the display&lt;br /&gt;
|-&lt;br /&gt;
| ''width'' || number || 0 || width of destination area in the display&lt;br /&gt;
|-&lt;br /&gt;
| ''height'' || number || 0 || height side of destination area in the display&lt;br /&gt;
|-&lt;br /&gt;
| ''srcLeft'' || number || 0 || left side of source area in the image&lt;br /&gt;
|-&lt;br /&gt;
| ''srcBottom'' || number || 0 || bottom side of source area in the image&lt;br /&gt;
|-&lt;br /&gt;
| ''srcWidth'' || number || 0 || width of source area in the image&lt;br /&gt;
|-&lt;br /&gt;
| ''srcHeight'' || number || 0 || height side of source area in the image&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
To draw the entire image, specify only the image, and the bottom-left&lt;br /&gt;
corner of where you want it to appear on the display (and optionally the &lt;br /&gt;
desired width and height you want it to appear).  To draw just a portion&lt;br /&gt;
of an image, add the four additional parameters specifying the rectangular&lt;br /&gt;
area in the source image that you want to draw.&lt;br /&gt;
&lt;br /&gt;
Note that this should not be used for animation, as it is substantially&lt;br /&gt;
slower than using a [[SpriteDisplay]].  But it is more efficient if you&lt;br /&gt;
only need to draw something occasionally.&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.setPixel&amp;diff=508</id>
		<title>PixelDisplay.setPixel</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.setPixel&amp;diff=508"/>
		<updated>2020-05-01T03:19:54Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.setPixel&amp;lt;/c&amp;gt; sets the color of a specific pixel within the display.  === Arguments ===  {| class=&amp;quot;wikitable&amp;quot; |- ! Parameter Name !! Type !! Default Value !...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].setPixel&amp;lt;/c&amp;gt; sets the color of a specific pixel within the display.&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;
| ''x'' || number || 0 || horizontal coordinate of pixel to set&lt;br /&gt;
|-&lt;br /&gt;
| ''y'' || number || 0 || vertical coordinate of pixel to set&lt;br /&gt;
|-&lt;br /&gt;
| color || color || self.color || color to set that pixel to&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.pixel&amp;diff=507</id>
		<title>PixelDisplay.pixel</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.pixel&amp;diff=507"/>
		<updated>2020-05-01T02:48:25Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].pixel&amp;lt;/c&amp;gt; returns the color of a specific pixel within the display.&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;
| ''x'' || number || 0 || horizontal coordinate of pixel to get&lt;br /&gt;
|-&lt;br /&gt;
| ''y'' || number || 0 || vertical coordinate of pixel to get&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
Note that the color is always returned with the alpha channel included.&lt;br /&gt;
So even if you draw in color &amp;quot;#00FF00&amp;quot; (solid green, with alpha implied),&lt;br /&gt;
the pixel color will be returned as &amp;quot;#00FF00FF&amp;quot; (also solid grean, but&lt;br /&gt;
with the alpha explicit as the final FF).&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.pixel&amp;diff=506</id>
		<title>PixelDisplay.pixel</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.pixel&amp;diff=506"/>
		<updated>2020-05-01T02:48:15Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.pixel&amp;lt;/c&amp;gt; returns the color of a specific pixel within the display.   === Arguments ===  {| class=&amp;quot;wikitable&amp;quot; |- ! Parameter Name !! Type !! Default Value...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].pixel&amp;lt;/c&amp;gt; returns the color of a specific pixel within the display.&lt;br /&gt;
&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;
| ''x'' || number || 0 || horizontal coordinate of pixel to get&lt;br /&gt;
|-&lt;br /&gt;
| ''y'' || number || 0 || vertical coordinate of pixel to get&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
Note that the color is always returned with the alpha channel included.&lt;br /&gt;
So even if you draw in color &amp;quot;#00FF00&amp;quot; (solid green, with alpha implied),&lt;br /&gt;
the pixel color will be returned as &amp;quot;#00FF00FF&amp;quot; (also solid grean, but&lt;br /&gt;
with the alpha explicit as the final FF).&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.fillEllipse&amp;diff=505</id>
		<title>PixelDisplay.fillEllipse</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.fillEllipse&amp;diff=505"/>
		<updated>2020-05-01T02:45:26Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].fillEllipse&amp;lt;/c&amp;gt; fills an ellipse defined by an axis-aligned rectangle on the pixel display.&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;
| ''left'' || number || 0 || left side of ellipse&lt;br /&gt;
|-&lt;br /&gt;
| ''bottom'' || number || 0 || bottom side of ellipse&lt;br /&gt;
|-&lt;br /&gt;
| ''width'' || number || 100 || ellipse width&lt;br /&gt;
|-&lt;br /&gt;
| ''height'' || number || 100 || ellipse height&lt;br /&gt;
|-&lt;br /&gt;
| ''color'' || color || self.color || color to draw&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;gfx.fillEllipse 100, 200, 400, 150&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.fillEllipse&amp;diff=504</id>
		<title>PixelDisplay.fillEllipse</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.fillEllipse&amp;diff=504"/>
		<updated>2020-05-01T02:45:12Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.fillEllipse&amp;lt;/c&amp;gt; fills an ellipse defined by an axis-aligned rectangle on the pixel display.   === Arguments ===  {| class=&amp;quot;wikitable&amp;quot; |- ! Parameter Name !! Ty...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;PixelDisplay.fillEllipse&amp;lt;/c&amp;gt; fills an ellipse defined by an axis-aligned rectangle on the pixel display.&lt;br /&gt;
&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;
| ''left'' || number || 0 || left side of ellipse&lt;br /&gt;
|-&lt;br /&gt;
| ''bottom'' || number || 0 || bottom side of ellipse&lt;br /&gt;
|-&lt;br /&gt;
| ''width'' || number || 100 || ellipse width&lt;br /&gt;
|-&lt;br /&gt;
| ''height'' || number || 100 || ellipse height&lt;br /&gt;
|-&lt;br /&gt;
| ''color'' || color || self.color || color to draw&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;gfx.fillEllipse 100, 200, 400, 150&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.drawEllipse&amp;diff=503</id>
		<title>PixelDisplay.drawEllipse</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.drawEllipse&amp;diff=503"/>
		<updated>2020-05-01T02:42:00Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.drawEllipse&amp;lt;/c&amp;gt; draws (outlines) an ellipse defined by an axis-aligned rectangle on the pixel display.  === Arguments ===  {| class=&amp;quot;wikitable&amp;quot; |- ! Parame...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].drawEllipse&amp;lt;/c&amp;gt; draws (outlines) an ellipse defined by an axis-aligned rectangle on the pixel display.&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;
| ''left'' || number || 0 || left side of ellipse&lt;br /&gt;
|-&lt;br /&gt;
| ''bottom'' || number || 0 || bottom side of ellipse&lt;br /&gt;
|-&lt;br /&gt;
| ''width'' || number || 100 || ellipse width&lt;br /&gt;
|-&lt;br /&gt;
| ''height'' || number || 100 || ellipse height&lt;br /&gt;
|-&lt;br /&gt;
| ''color'' || color || 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;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;gfx.drawEllipse 100, 200, 400, 150&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.fillRect&amp;diff=502</id>
		<title>PixelDisplay.fillRect</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.fillRect&amp;diff=502"/>
		<updated>2020-05-01T02:36:46Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.fillRect&amp;lt;/c&amp;gt; fills an axis-aligned rectangle on the pixel display.  === Arguments ===  {| class=&amp;quot;wikitable&amp;quot; |- ! Parameter Name !! Type !! Default Value !!...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].fillRect&amp;lt;/c&amp;gt; fills an axis-aligned rectangle on the pixel display.&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;
| ''left'' || number || 0 || left side of rectangle&lt;br /&gt;
|-&lt;br /&gt;
| ''bottom'' || number || 0 || bottom side of rectangle&lt;br /&gt;
|-&lt;br /&gt;
| ''width'' || number || 100 || rectangle width&lt;br /&gt;
|-&lt;br /&gt;
| ''height'' || number || 100 || rectangle height&lt;br /&gt;
|-&lt;br /&gt;
| ''color'' || color || self.color || color to draw&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;gfx.fillRect 100, 200, 400, 150&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.drawRect&amp;diff=497</id>
		<title>PixelDisplay.drawRect</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.drawRect&amp;diff=497"/>
		<updated>2020-04-29T00:16:39Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].drawRect&amp;lt;/c&amp;gt; draws (outlines) an axis-aligned rectangle on the pixel display.&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;
| ''left'' || number || 0 || left side of rectangle&lt;br /&gt;
|-&lt;br /&gt;
| ''bottom'' || number || 0 || bottom side of rectangle&lt;br /&gt;
|-&lt;br /&gt;
| ''width'' || number || 100 || rectangle width&lt;br /&gt;
|-&lt;br /&gt;
| ''height'' || number || 100 || rectangle height&lt;br /&gt;
|-&lt;br /&gt;
| ''color'' || color || 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;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;gfx.drawRect 100, 200, 400, 150&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.drawRect&amp;diff=496</id>
		<title>PixelDisplay.drawRect</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.drawRect&amp;diff=496"/>
		<updated>2020-04-29T00:16:25Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[Pixeldisplay]].drawRect&amp;lt;/c&amp;gt; draws (outlines) an axis-aligned rectangle on the pixel display.&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;
| ''left'' || number || 0 || left side of rectangle&lt;br /&gt;
|-&lt;br /&gt;
| ''bottom'' || number || 0 || bottom side of rectangle&lt;br /&gt;
|-&lt;br /&gt;
| ''width'' || number || 100 || rectangle width&lt;br /&gt;
|-&lt;br /&gt;
| ''height'' || number || 100 || rectangle height&lt;br /&gt;
|-&lt;br /&gt;
| ''color'' || color || 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;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;gfx.drawRect 100, 200, 400, 150&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.drawRect&amp;diff=495</id>
		<title>PixelDisplay.drawRect</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.drawRect&amp;diff=495"/>
		<updated>2020-04-29T00:16:13Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;Pixeldisplay.drawRect&amp;lt;/c&amp;gt; draws (outlines) an axis-aligned rectangle on the pixel display.  === Arguments ===  {| class=&amp;quot;wikitable&amp;quot; |- ! Parameter Name !! Type !! Default V...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;Pixeldisplay.drawRect&amp;lt;/c&amp;gt; draws (outlines) an axis-aligned rectangle on the pixel display.&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;
| ''left'' || number || 0 || left side of rectangle&lt;br /&gt;
|-&lt;br /&gt;
| ''bottom'' || number || 0 || bottom side of rectangle&lt;br /&gt;
|-&lt;br /&gt;
| ''width'' || number || 100 || rectangle width&lt;br /&gt;
|-&lt;br /&gt;
| ''height'' || number || 100 || rectangle height&lt;br /&gt;
|-&lt;br /&gt;
| ''color'' || color || 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;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;gfx.drawRect 100, 200, 400, 150&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.fillPoly&amp;diff=494</id>
		<title>PixelDisplay.fillPoly</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.fillPoly&amp;diff=494"/>
		<updated>2020-04-29T00:11:03Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].fillPoly&amp;lt;/c&amp;gt; fills a polygon on the pixel display.  The ''points'' argument can&lt;br /&gt;
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 || default value || list of three or more points&lt;br /&gt;
|-&lt;br /&gt;
| ''color'' || color || self.color || color 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	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.fillPoly [[10,100], [200,500], [390,100]]		// fills 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>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.fillPoly&amp;diff=493</id>
		<title>PixelDisplay.fillPoly</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.fillPoly&amp;diff=493"/>
		<updated>2020-04-29T00:09:59Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.fillPoly&amp;lt;/c&amp;gt; fills 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-elem...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay.]]fillPoly&amp;lt;/c&amp;gt; fills a polygon on the pixel display.  The ''points'' argument can&lt;br /&gt;
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 || default value || list of three or more points&lt;br /&gt;
|-&lt;br /&gt;
| ''color'' || color || self.color || color 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	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.fillPoly [[10,100], [200,500], [390,100]]		// fills 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>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.drawPoly&amp;diff=492</id>
		<title>PixelDisplay.drawPoly</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.drawPoly&amp;diff=492"/>
		<updated>2020-04-29T00:06:57Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: &lt;/p&gt;
&lt;hr /&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>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.drawPoly&amp;diff=491</id>
		<title>PixelDisplay.drawPoly</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.drawPoly&amp;diff=491"/>
		<updated>2020-04-29T00:06:46Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: 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 ''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...&amp;quot;&lt;/p&gt;
&lt;hr /&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>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.line&amp;diff=490</id>
		<title>PixelDisplay.line</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.line&amp;diff=490"/>
		<updated>2020-04-29T00:03:22Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.line&amp;lt;/c&amp;gt; draws a line on the pixel display.  === Arguments ===  {| class=&amp;quot;wikitable&amp;quot; |- ! Parameter Name !! Type !! Default Value !! Meaning |- | ''x1'' ||...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].line&amp;lt;/c&amp;gt; draws a line on the pixel display.&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;
| ''x1'' || number || 0 || horizontal position of one end of the line&lt;br /&gt;
|-&lt;br /&gt;
| ''y1'' || number || 0 || vertical position of one end of the line&lt;br /&gt;
|-&lt;br /&gt;
| ''x2'' || number || 960 || horizontal position of other end of the line&lt;br /&gt;
|-&lt;br /&gt;
| ''y2'' || number || 640 || vertical position of other end of the line&lt;br /&gt;
|-&lt;br /&gt;
| ''color'' || color || self.color || color to draw&lt;br /&gt;
|-&lt;br /&gt;
| ''penSize'' || number || 640 || width of line to draw&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;gfx.line 100,200, 500,200&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.clear&amp;diff=489</id>
		<title>PixelDisplay.clear</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.clear&amp;diff=489"/>
		<updated>2020-04-28T23:56:45Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.clear&amp;lt;/c&amp;gt; clears, resets, and resizes this pixel display.  === Arguments ===  {| class=&amp;quot;wikitable&amp;quot; |- ! Parameter Name !! Type !! Default Value !! Meaning...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].clear&amp;lt;/c&amp;gt; clears, resets, and resizes this pixel display.&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;
| ''color'' || color ||  color.clear || color to fill the display with&lt;br /&gt;
|-&lt;br /&gt;
| ''width'' || number || 960 || new display width&lt;br /&gt;
|-&lt;br /&gt;
| ''height'' || number || default 640 || new display height&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
In addition to clearing the color and setting the size, this method&lt;br /&gt;
also resets the scale to 1, and scrollX and scrollY to 0.&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.scrollY&amp;diff=487</id>
		<title>PixelDisplay.scrollY</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.scrollY&amp;diff=487"/>
		<updated>2020-04-28T23:50:25Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.scrollY&amp;lt;/c&amp;gt; This is an offset, in screen pixels, which makes the pixel display appear shifted down on screen (or up with negative values).  == Example ==...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].scrollY&amp;lt;/c&amp;gt; This is an offset, in screen pixels, which makes the pixel display appear shifted down on screen (or up with negative values).&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;gfx.scrollY = 100		// shifts the display 100 pixels down&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.scrollX&amp;diff=486</id>
		<title>PixelDisplay.scrollX</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.scrollX&amp;diff=486"/>
		<updated>2020-04-28T23:48:45Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.scrollX&amp;lt;/c&amp;gt; is an offset, in screen pixels, which makes the pixel display appear shifted to the left on screen (or to the right with negative values).  == Exam...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;PixelDisplay.scrollX&amp;lt;/c&amp;gt; is an offset, in screen pixels, which makes the pixel display appear shifted to the left on screen (or to the right with negative values).&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;gfx.scrollX = 100		// shifts the display 100 pixels to the left&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.scale&amp;diff=483</id>
		<title>PixelDisplay.scale</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.scale&amp;diff=483"/>
		<updated>2020-04-28T23:46:53Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].scale&amp;lt;/c&amp;gt; is a scaling factor controlling how this pixel display is rendered on&lt;br /&gt;
screen.  The default value of 1 means that one pixel in the display&lt;br /&gt;
draws as 1 pixel on screen; 2 double the scale, making each pixel&lt;br /&gt;
appear twice the normal width and height.&lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
You may assign either a simple number to scale the same way in width&lt;br /&gt;
and height, or a list &amp;lt;c&amp;gt;[''x scale'', ''y scale'']&amp;lt;/c&amp;gt; to scale differently&lt;br /&gt;
in X and Y.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;gfx.scale = 5	//  makes every gfx pixel 5 times bigger in X and Y&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.scale&amp;diff=482</id>
		<title>PixelDisplay.scale</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.scale&amp;diff=482"/>
		<updated>2020-04-28T23:43:57Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay]].clear&amp;lt;/c&amp;gt; is a scaling factor controlling how this pixel display is rendered on&lt;br /&gt;
screen.  The default value of 1 means that one pixel in the display&lt;br /&gt;
draws as 1 pixel on screen; 2 double the scale, making each pixel&lt;br /&gt;
appear twice the normal width and height.&lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
You may assign either a simple number to scale the same way in width&lt;br /&gt;
and height, or a list &amp;lt;c&amp;gt;[''x scale'', ''y scale'']&amp;lt;/c&amp;gt; to scale differently&lt;br /&gt;
in X and Y.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;gfx.scale = 5	//  makes every gfx pixel 5 times bigger in X and Y&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.scale&amp;diff=481</id>
		<title>PixelDisplay.scale</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.scale&amp;diff=481"/>
		<updated>2020-04-28T23:43:00Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay.clear]]&amp;lt;/c&amp;gt; is a scaling factor controlling how this pixel display is rendered on&lt;br /&gt;
screen.  The default value of 1 means that one pixel in the display&lt;br /&gt;
draws as 1 pixel on screen; 2 double the scale, making each pixel&lt;br /&gt;
appear twice the normal width and height.&lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
You may assign either a simple number to scale the same way in width&lt;br /&gt;
and height, or a list &amp;lt;c&amp;gt;[''x scale'', ''y scale'']&amp;lt;/c&amp;gt; to scale differently&lt;br /&gt;
in X and Y.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;gfx.scale = 5	//  makes every gfx pixel 5 times bigger in X and Y&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.scale&amp;diff=480</id>
		<title>PixelDisplay.scale</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.scale&amp;diff=480"/>
		<updated>2020-04-28T23:42:50Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.clear&amp;lt;/c&amp;gt; is a scaling factor controlling how this pixel display is rendered on screen.  The default value of 1 means that one pixel in the display draws as 1...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;PixelDisplay.clear&amp;lt;/c&amp;gt; is a scaling factor controlling how this pixel display is rendered on&lt;br /&gt;
screen.  The default value of 1 means that one pixel in the display&lt;br /&gt;
draws as 1 pixel on screen; 2 double the scale, making each pixel&lt;br /&gt;
appear twice the normal width and height.&lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
You may assign either a simple number to scale the same way in width&lt;br /&gt;
and height, or a list &amp;lt;c&amp;gt;[''x scale'', ''y scale'']&amp;lt;/c&amp;gt; to scale differently&lt;br /&gt;
in X and Y.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;gfx.scale = 5	//  makes every gfx pixel 5 times bigger in X and Y&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.height&amp;diff=479</id>
		<title>PixelDisplay.height</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.height&amp;diff=479"/>
		<updated>2020-04-28T23:40:39Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.height&amp;lt;/c&amp;gt; is the number of pixel rows in the display.  This is a read-only value; to change the width and height of the display, use [[PixelDisplay.clear]...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;[[PixelDisplay.height]]&amp;lt;/c&amp;gt; is the number of pixel rows in the display.&lt;br /&gt;
&lt;br /&gt;
This is a read-only value; to change the width and height of the display,&lt;br /&gt;
use [[PixelDisplay.clear]].&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;print gfx.height		// prints 640 in the default state&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.width&amp;diff=477</id>
		<title>PixelDisplay.width</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.width&amp;diff=477"/>
		<updated>2020-04-28T23:38:03Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;PixelDisplay.width&amp;lt;/c&amp;gt; is the number of pixel columns in the display.&lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
This is a read-only value; to change the width and height of the display,&lt;br /&gt;
use [[PixelDisplay.clear]].&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
print gfx.width		 // prints 960 in the default state&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=PixelDisplay.width&amp;diff=476</id>
		<title>PixelDisplay.width</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=PixelDisplay.width&amp;diff=476"/>
		<updated>2020-04-28T23:37:38Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;PixelDisplay.width&amp;lt;/c&amp;gt; is the number of pixel columns in the display.  === Usage Notes === This is a read-only value; to change the width and height of the display, use P...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;PixelDisplay.width&amp;lt;/c&amp;gt; is the number of pixel columns in the display.&lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
This is a read-only value; to change the width and height of the display,&lt;br /&gt;
use [[PixelDisplay.clear]].&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
print gfx.width		// prints 960 in the default state&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.tint&amp;diff=419</id>
		<title>Sprite.tint</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.tint&amp;diff=419"/>
		<updated>2020-04-12T23:08:39Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;Sprite.tint:&amp;lt;/c&amp;gt; Tint color to apply to the sprite image.  A tint of &amp;lt;c&amp;gt;color.red&amp;lt;/c&amp;gt;, for example, will make white pixels in the sprite image appear red; other colors...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;Sprite.tint:&amp;lt;/c&amp;gt; Tint [[color]] to apply to the sprite image.  A tint of &amp;lt;c&amp;gt;color.red&amp;lt;/c&amp;gt;,&lt;br /&gt;
for example, will make white pixels in the sprite image appear red; other&lt;br /&gt;
colors will be mixed with (technically, multiplied by) red.&lt;br /&gt;
&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;
| ''paramnamd1'' || type || default value || description&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
Assigning a tint color with an alpha less than 255 (FF) will make the&lt;br /&gt;
sprite semi-transparent.  In the extreme, setting a tint of &amp;lt;c&amp;gt;color.clear&amp;lt;/c&amp;gt;&lt;br /&gt;
will make the sprite invisible (though this is not as efficient as simply&lt;br /&gt;
removing the sprite from the display [[SpriteDisplay.sprites|sprites]] list).&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;sp = new Sprite&lt;br /&gt;
sp.image = file.loadImage(&amp;quot;/sys/pics/Wumpus.png&amp;quot;)&lt;br /&gt;
display(4).sprites.push sp&lt;br /&gt;
sp.tint = &amp;quot;#00FF0088&amp;quot;  // semi-transparent green&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.rotation&amp;diff=418</id>
		<title>Sprite.rotation</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.rotation&amp;diff=418"/>
		<updated>2020-04-12T23:07:14Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;Sprite.rotation&amp;lt;/c&amp;gt;: Rotation of the sprite, in degrees counter-clockwise.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;sp = new Sprite&lt;br /&gt;
sp.image = file.loadImage(&amp;quot;/sys/pics/Wumpus.png&amp;quot;)&lt;br /&gt;
display(4).sprites.push sp&lt;br /&gt;
sp.rotation = 45&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.overlaps&amp;diff=416</id>
		<title>Sprite.overlaps</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.overlaps&amp;diff=416"/>
		<updated>2020-04-12T22:04:22Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt; Sprite.overlaps&amp;lt;/c&amp;gt; checks whether this sprite overlaps (touches) another one, by comparing their bounds.   === Arguments ===  {| class=&amp;quot;wikitable&amp;quot; |- ! Parameter Name !!...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt; Sprite.overlaps&amp;lt;/c&amp;gt; checks whether this sprite overlaps (touches) another one, by&lt;br /&gt;
comparing their bounds. &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 !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| ''other'' || Sprite or Bounds || object to check for overlap with&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
Use of this requires first defining the [[Sprite.localBounds|localBounds]]&lt;br /&gt;
of each sprite.&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.contains&amp;diff=415</id>
		<title>Sprite.contains</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.contains&amp;diff=415"/>
		<updated>2020-04-12T22:02:19Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;Sprite.contains&amp;lt;/c&amp;gt; returns whether the sprite's world bounds contains the given x,y point (given in world coordinates).   === Arguments ===  {| class=&amp;quot;wikitable&amp;quot; |- ! Para...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;Sprite.contains&amp;lt;/c&amp;gt; returns whether the sprite's world bounds contains the given x,y point&lt;br /&gt;
(given in world coordinates).&lt;br /&gt;
&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;
| ''x'' || number || 0 || horizontal position of point of interest&lt;br /&gt;
|-&lt;br /&gt;
| ''y'' || number || 0 || vertical position of point of interest&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
This is just a shortcut for &amp;lt;c&amp;gt;[[Sprite.worldBounds|worldBounds]].contains&amp;lt;/c&amp;gt;.&lt;br /&gt;
Use of this requires first defining the [[Sprite.localBounds|localBounds]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.worldBounds&amp;diff=413</id>
		<title>Sprite.worldBounds</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.worldBounds&amp;diff=413"/>
		<updated>2020-04-12T21:58:56Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: ZachStrout moved page Sprite.worldbounds to Sprite.worldBounds&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;Sprite.worldbounds&amp;lt;/c&amp;gt; returns the current bounds of the sprite in world coordinates.  This&lt;br /&gt;
is calculated by applying the sprite's current [[Sprite.x|x]],&lt;br /&gt;
[[Sprite.y|y]], [[Sprite.rotation|rotation]], and [[Sprite.scale|scale]]&lt;br /&gt;
values to the sprite's [[Sprite.localBounds|localBounds]].&lt;br /&gt;
&lt;br /&gt;
See also: [[How to detect a click on a sprite]]&lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
Use of this requires first defining the [[Sprite.localBounds|localBounds]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.worldbounds&amp;diff=414</id>
		<title>Sprite.worldbounds</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.worldbounds&amp;diff=414"/>
		<updated>2020-04-12T21:58:56Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: ZachStrout moved page Sprite.worldbounds to Sprite.worldBounds&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Sprite.worldBounds]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.localBounds&amp;diff=411</id>
		<title>Sprite.localBounds</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.localBounds&amp;diff=411"/>
		<updated>2020-04-12T21:58:25Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: ZachStrout moved page Sprite.localbounds to Sprite.localBounds&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;sprite.localBounds&amp;lt;/c&amp;gt; assigns a [[Bounds]] object to this property to define the sprite&lt;br /&gt;
bounds in &amp;quot;local&amp;quot; coordinates.  That means the bounds the sprite would&lt;br /&gt;
have if it were positioned at x=0, y=0, with no rotation and scale=1.&lt;br /&gt;
[[Mini Micro]] will automatically compute the [[Sprite.worldBounds|worldBounds]]&lt;br /&gt;
from this local bounds as the sprite moves, rotates, and scales.&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.localbounds&amp;diff=412</id>
		<title>Sprite.localbounds</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.localbounds&amp;diff=412"/>
		<updated>2020-04-12T21:58:25Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: ZachStrout moved page Sprite.localbounds to Sprite.localBounds&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Sprite.localBounds]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.worldBounds&amp;diff=409</id>
		<title>Sprite.worldBounds</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.worldBounds&amp;diff=409"/>
		<updated>2020-04-12T21:55:10Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;Sprite.worldbounds&amp;lt;/c&amp;gt; returns the current bounds of the sprite in world coordinates.  This is calculated by applying the sprite's current x, y, [...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;Sprite.worldbounds&amp;lt;/c&amp;gt; returns the current bounds of the sprite in world coordinates.  This&lt;br /&gt;
is calculated by applying the sprite's current [[Sprite.x|x]],&lt;br /&gt;
[[Sprite.y|y]], [[Sprite.rotation|rotation]], and [[Sprite.scale|scale]]&lt;br /&gt;
values to the sprite's [[Sprite.localBounds|localBounds]].&lt;br /&gt;
&lt;br /&gt;
See also: [[How to detect a click on a sprite]]&lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
Use of this requires first defining the [[Sprite.localBounds|localBounds]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.localBounds&amp;diff=408</id>
		<title>Sprite.localBounds</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.localBounds&amp;diff=408"/>
		<updated>2020-04-12T21:53:33Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;sprite.localBounds&amp;lt;/c&amp;gt; assigns a Bounds object to this property to define the sprite bounds in &amp;quot;local&amp;quot; coordinates.  That means the bounds the sprite would have if it w...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;sprite.localBounds&amp;lt;/c&amp;gt; assigns a [[Bounds]] object to this property to define the sprite&lt;br /&gt;
bounds in &amp;quot;local&amp;quot; coordinates.  That means the bounds the sprite would&lt;br /&gt;
have if it were positioned at x=0, y=0, with no rotation and scale=1.&lt;br /&gt;
[[Mini Micro]] will automatically compute the [[Sprite.worldBounds|worldBounds]]&lt;br /&gt;
from this local bounds as the sprite moves, rotates, and scales.&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.rotation&amp;diff=407</id>
		<title>Sprite.rotation</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.rotation&amp;diff=407"/>
		<updated>2020-04-12T21:52:18Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;Sprite.rotation&amp;lt;/c&amp;gt;: Tint color to apply to the sprite image.  A tint of &amp;lt;c&amp;gt;color.red&amp;lt;/c&amp;gt;, for example, will make white pixels in the sprite image appear red; other col...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;Sprite.rotation&amp;lt;/c&amp;gt;: Tint [[color]] to apply to the sprite image.  A tint of &amp;lt;c&amp;gt;color.red&amp;lt;/c&amp;gt;,&lt;br /&gt;
for example, will make white pixels in the sprite image appear red; other&lt;br /&gt;
colors will be mixed with (technically, multiplied by) red.&lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
Assigning a tint color with an alpha less than 255 (FF) will make the&lt;br /&gt;
sprite semi-transparent.  In the extreme, setting a tint of &amp;lt;c&amp;gt;color.clear&amp;lt;/c&amp;gt;&lt;br /&gt;
will make the sprite invisible (though this is not as efficient as simply&lt;br /&gt;
removing the sprite from the display [[SpriteDisplay.sprites|sprites]] list)&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;sp = new Sprite&lt;br /&gt;
sp.image = file.loadImage(&amp;quot;/sys/pics/Wumpus.png&amp;quot;)&lt;br /&gt;
display(4).sprites.push sp&lt;br /&gt;
sp.tint = &amp;quot;#00FF0088&amp;quot;  // semi-transparent green&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.scale&amp;diff=406</id>
		<title>Sprite.scale</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.scale&amp;diff=406"/>
		<updated>2020-04-12T21:49:52Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;Sprite.scale&amp;lt;/c&amp;gt; is the scale factor of the sprite.  A scale of 1 means that one pixel in the image appears as one pixel on screen.  Setting scale=2 makes...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;Sprite.scale&amp;lt;/c&amp;gt; is the scale factor of the sprite.  A scale of 1 means that one pixel in&lt;br /&gt;
the [[Sprite.image|image]] appears as one pixel on screen.  Setting&lt;br /&gt;
scale=2 makes the sprite appear twice as big; scale=0.5 makes it appear&lt;br /&gt;
half its standard size.&lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
You may also scale a sprite differently in&lt;br /&gt;
x and y by assigning a list of two numbers; the first is the x scale,&lt;br /&gt;
and the second is the y scale, as in the example below.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;sp = new Sprite&lt;br /&gt;
sp.image = file.loadImage(&amp;quot;/sys/pics/Wumpus.png&amp;quot;)&lt;br /&gt;
display(4).sprites.push sp&lt;br /&gt;
sp.scale = [2,1]	// double the width, but leave height alone&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.y&amp;diff=405</id>
		<title>Sprite.y</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.y&amp;diff=405"/>
		<updated>2020-04-12T21:48:03Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;Sprite.y&amp;lt;/c&amp;gt; is the vertical position of the sprite, in Screen coordinates (adjusted by SpriteDisplay.scrollY.  == Example ==  &amp;lt;ms&amp;gt;sp = new Sprite sp.image = file.l...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;Sprite.y&amp;lt;/c&amp;gt; is the vertical position of the sprite, in [[Screen coordinates]]&lt;br /&gt;
(adjusted by [[SpriteDisplay.scrollY]].&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;sp = new Sprite&lt;br /&gt;
sp.image = file.loadImage(&amp;quot;/sys/pics/Wumpus.png&amp;quot;)&lt;br /&gt;
display(4).sprites.push sp&lt;br /&gt;
sp.y = 320&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.image&amp;diff=404</id>
		<title>Sprite.image</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.image&amp;diff=404"/>
		<updated>2020-04-12T21:47:12Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;Sprite.image&amp;lt;/c&amp;gt;: [[Image]] displayed by the sprite.&lt;br /&gt;
&lt;br /&gt;
See also: [[file.loadImage]]&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;sp = new Sprite&lt;br /&gt;
sp.image = file.loadImage(&amp;quot;/sys/pics/Wumpus.png&amp;quot;)&lt;br /&gt;
display(4).sprites.push sp&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.x&amp;diff=403</id>
		<title>Sprite.x</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.x&amp;diff=403"/>
		<updated>2020-04-12T21:45:05Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;Sprite.x&amp;lt;/c&amp;gt; Horizontal position of the sprite, in Screen coordinates (adjusted by SpriteDisplay.scrollX.  == Example ==  &amp;lt;ms&amp;gt;sp = new Sprite sp.image = file.loadIm...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;Sprite.x&amp;lt;/c&amp;gt; Horizontal position of the sprite, in [[Screen coordinates]]&lt;br /&gt;
(adjusted by [[SpriteDisplay.scrollX]].&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;sp = new Sprite&lt;br /&gt;
sp.image = file.loadImage(&amp;quot;/sys/pics/Wumpus.png&amp;quot;)&lt;br /&gt;
display(4).sprites.push sp&lt;br /&gt;
sp.x = 480&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Sprite.image&amp;diff=402</id>
		<title>Sprite.image</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Sprite.image&amp;diff=402"/>
		<updated>2020-04-12T21:44:04Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;Sprite.image&amp;lt;/c&amp;gt;: Image displayed by the sprite.  == Example ==  &amp;lt;ms&amp;gt;sp = new Sprite sp.image = file.loadImage(&amp;quot;/sys/pics/Wumpus.png&amp;quot;) display(4).sprites.push sp&amp;lt;/ms&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;Sprite.image&amp;lt;/c&amp;gt;: [[Image]] displayed by the sprite.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;sp = new Sprite&lt;br /&gt;
sp.image = file.loadImage(&amp;quot;/sys/pics/Wumpus.png&amp;quot;)&lt;br /&gt;
display(4).sprites.push sp&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=SpriteDisplay.sprites&amp;diff=401</id>
		<title>SpriteDisplay.sprites</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=SpriteDisplay.sprites&amp;diff=401"/>
		<updated>2020-04-12T21:38:51Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;SpriteDisplay.sprites&amp;lt;/c&amp;gt; is the list that contains all sprites in the display.  Sprites are layered according to their order in this list, with sprites[0] at the  back, an...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;SpriteDisplay.sprites&amp;lt;/c&amp;gt; is the list that contains all sprites in the display.  Sprites are&lt;br /&gt;
layered according to their order in this list, with sprites[0] at the &lt;br /&gt;
back, and the last sprite in the list drawn on top.  To add a sprite to&lt;br /&gt;
the display, simply add it to this list; remove it from the list to remove&lt;br /&gt;
the sprite from the display.  You may reorder&lt;br /&gt;
sprites in this list at any time to change the layering.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;sp = new Sprite&lt;br /&gt;
sp.image = file.loadImage(&amp;quot;/sys/pics/Wumpus.png&amp;quot;)&lt;br /&gt;
display(4).sprites.push sp	// add a sprite to the display&lt;br /&gt;
key.get  // wait for a keypress&lt;br /&gt;
display(4).sprites.remove display(4).sprites.indexOf sp  // remove it&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=SpriteDisplay.clear&amp;diff=400</id>
		<title>SpriteDisplay.clear</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=SpriteDisplay.clear&amp;diff=400"/>
		<updated>2020-04-12T21:37:05Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;SpriteDisplay.clear&amp;lt;/c&amp;gt; clears all sprites from the display (resetting [[SpriteDisplay.sprites|.sprites]]&lt;br /&gt;
to an empty list).  It also resets [[SpriteDisplay.scrollX|.scrollX]] and&lt;br /&gt;
[[SpriteDisplay.scrollY|.scrollY]] to zero.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;display(4).mode = displayMode.sprite&lt;br /&gt;
disp = display(4)&lt;br /&gt;
disp.clear&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=SpriteDisplay.clear&amp;diff=399</id>
		<title>SpriteDisplay.clear</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=SpriteDisplay.clear&amp;diff=399"/>
		<updated>2020-04-12T21:36:55Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;SpriteDisplay.clear&amp;lt;/c&amp;gt; Clears all sprites from the display (resetting .sprites to an empty list).  It also resets SpriteDisplay.scrollX|.scroll...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;SpriteDisplay.clear&amp;lt;/c&amp;gt; Clears all sprites from the display (resetting [[SpriteDisplay.sprites|.sprites]]&lt;br /&gt;
to an empty list).  It also resets [[SpriteDisplay.scrollX|.scrollX]] and&lt;br /&gt;
[[SpriteDisplay.scrollY|.scrollY]] to zero.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;display(4).mode = displayMode.sprite&lt;br /&gt;
disp = display(4)&lt;br /&gt;
disp.clear&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=SpriteDisplay.scrollX&amp;diff=398</id>
		<title>SpriteDisplay.scrollX</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=SpriteDisplay.scrollX&amp;diff=398"/>
		<updated>2020-04-12T21:35:46Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;SpriteDisplay.scrollX&amp;lt;/c&amp;gt;: Horizontal scroll amount subtracted from the position of all&lt;br /&gt;
sprites on the display.  This is the standard way of making it&lt;br /&gt;
appear that the world is scrolling past.&lt;br /&gt;
&lt;br /&gt;
See also: [[SpriteDisplay.scrollY]]; [[PixelDisplay.ScrollX]]; [[TileDisplay.ScrollX]]&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;sp = new Sprite&lt;br /&gt;
sp.image = file.loadImage(&amp;quot;/sys/pics/Wumpus.png&amp;quot;)&lt;br /&gt;
display(4).sprites.push sp&lt;br /&gt;
for i in range(0,500,10)&lt;br /&gt;
    display(4).scrollX = -i&lt;br /&gt;
    wait 0.2&lt;br /&gt;
end for&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>ZachStrout</name></author>
		
	</entry>
	<entry>
		<id>http://miniscript.org/w/index.php?title=SpriteDisplay.scrollY&amp;diff=397</id>
		<title>SpriteDisplay.scrollY</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=SpriteDisplay.scrollY&amp;diff=397"/>
		<updated>2020-04-12T21:34:53Z</updated>

		<summary type="html">&lt;p&gt;ZachStrout: Created page with &amp;quot;&amp;lt;c&amp;gt;SpriteDisplay.scrollY&amp;lt;/c&amp;gt;: Vertical scroll amount subtracted from the position of all sprites on the display.  This is the standard way of making it appear that the world i...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;c&amp;gt;SpriteDisplay.scrollY&amp;lt;/c&amp;gt;: Vertical scroll amount subtracted from the position of all&lt;br /&gt;
sprites on the display.  This is the standard way of making it&lt;br /&gt;
appear that the world is scrolling past.&lt;br /&gt;
&lt;br /&gt;
See also: [[SpriteDisplay.scrollX]]; [[PixelDisplay.ScrollY]]; [[TileDisplay.ScrollY]]&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;sp = new Sprite&lt;br /&gt;
sp.image = file.loadImage(&amp;quot;/sys/pics/Wumpus.png&amp;quot;)&lt;br /&gt;
display(4).sprites.push sp&lt;br /&gt;
for i in range(0,500,10)&lt;br /&gt;
	display(4).scrollY = -i&lt;br /&gt;
	wait 0.2&lt;br /&gt;
end for&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>