<?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=TileDisplay.extent</id>
	<title>TileDisplay.extent - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://miniscript.org/w/index.php?action=history&amp;feed=atom&amp;title=TileDisplay.extent"/>
	<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=TileDisplay.extent&amp;action=history"/>
	<updated>2026-04-08T13:22:59Z</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=TileDisplay.extent&amp;diff=794&amp;oldid=prev</id>
		<title>JoeStrout: Created page with &quot;In Mini Micro, the &lt;c&gt;extent&lt;/c&gt; property of a TileDisplay is used to set the number of columns and rows in the display.  It can be either a simple number, used for bo...&quot;</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=TileDisplay.extent&amp;diff=794&amp;oldid=prev"/>
		<updated>2021-09-19T04:43:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;In &lt;a href=&quot;/wiki/Mini_Micro&quot; title=&quot;Mini Micro&quot;&gt;Mini Micro&lt;/a&gt;, the &amp;lt;c&amp;gt;extent&amp;lt;/c&amp;gt; property of a &lt;a href=&quot;/wiki/TileDisplay&quot; title=&quot;TileDisplay&quot;&gt;TileDisplay&lt;/a&gt; is used to set the number of columns and rows in the display.  It can be either a simple number, used for bo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In [[Mini Micro]], the &amp;lt;c&amp;gt;extent&amp;lt;/c&amp;gt; property of a [[TileDisplay]] is used to set the number of columns and rows in the display.  It can be either a simple number, used for both columns and rows; or a two-element list containing the desired number of columns and rows.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
The following code prepares a tile display with 15 columns and 10 rows:&lt;br /&gt;
&amp;lt;ms&amp;gt;display(5).mode = displayMode.tile&lt;br /&gt;
td = display(5)&lt;br /&gt;
td.tileSet = file.loadImage(&amp;quot;/sys/pics/TileShapes.png&amp;quot;)&lt;br /&gt;
td.tileSetTileSize = 64  // size of each tile in the image&lt;br /&gt;
td.extent = [15, 10]  // columns, rows on screen&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(See [[TileDisplay]] for the full version of this example.)&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>JoeStrout</name></author>
		
	</entry>
</feed>