<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.computercraft.info/wiki/index.php?action=history&amp;feed=atom&amp;title=Paintutils.drawBox</id>
		<title>Paintutils.drawBox - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.computercraft.info/wiki/index.php?action=history&amp;feed=atom&amp;title=Paintutils.drawBox"/>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils.drawBox&amp;action=history"/>
		<updated>2026-07-11T18:11:33Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils.drawBox&amp;diff=6836&amp;oldid=prev</id>
		<title>MKlegoman357: Removed misinformation. It's allowed to exchange startX and endX values, but not startY and endY. For simplicity didn't add this in.</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils.drawBox&amp;diff=6836&amp;oldid=prev"/>
				<updated>2015-01-29T19:40:17Z</updated>
		
		<summary type="html">&lt;p&gt;Removed misinformation. It&amp;#039;s allowed to exchange startX and endX values, but not startY and endY. For simplicity didn&amp;#039;t add this in.&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 19:40, 29 January 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|addon=ComputerCraft&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|addon=ComputerCraft&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|desc=Draws a box from (startX, startY) to (endX, endY) in the specified color. ''Requires version 1.64 or newer.''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|desc=Draws a box from (startX, startY) to (endX, endY) in the specified color. ''Requires version 1.64 or newer.''&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;color:black; 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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br/&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(&amp;lt;var&amp;gt;startX&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;startY&amp;lt;/var&amp;gt;) is the corner opposite to (&amp;lt;var&amp;gt;endX&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;endY&amp;lt;/var&amp;gt;). ie.: if (&amp;lt;var&amp;gt;startX&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;startY&amp;lt;/var&amp;gt;) indicates the top-left corner then (&amp;lt;var&amp;gt;endX&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;endY&amp;lt;/var&amp;gt;) would indicate the bottom-right corner.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|examples=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|examples=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Example&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Example&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ccraft_wiki-mw_:diff:version:1.11a:oldid:6834:newid:6836 --&gt;
&lt;/table&gt;</summary>
		<author><name>MKlegoman357</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils.drawBox&amp;diff=6834&amp;oldid=prev</id>
		<title>MKlegoman357: Created the page for the missing function</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils.drawBox&amp;diff=6834&amp;oldid=prev"/>
				<updated>2015-01-29T19:28:37Z</updated>
		
		<summary type="html">&lt;p&gt;Created the page for the missing function&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=paintutils.drawBox&lt;br /&gt;
|args={{type|number}} startX, {{type|number}} startY, {{type|number}} endX, {{type|number}} endY [, {{type|number}} [[color (API)|color]]]&lt;br /&gt;
|api=paintutils&lt;br /&gt;
|returns=None&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Draws a box from (startX, startY) to (endX, endY) in the specified color. ''Requires version 1.64 or newer.''&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
(&amp;lt;var&amp;gt;startX&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;startY&amp;lt;/var&amp;gt;) is the corner opposite to (&amp;lt;var&amp;gt;endX&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;endY&amp;lt;/var&amp;gt;). ie.: if (&amp;lt;var&amp;gt;startX&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;startY&amp;lt;/var&amp;gt;) indicates the top-left corner then (&amp;lt;var&amp;gt;endX&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;endY&amp;lt;/var&amp;gt;) would indicate the bottom-right corner.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Draws a lime box which's top-left corner is at (2, 3) and bottom-right corner is at (10, 7).&lt;br /&gt;
|code='''paintutils.drawBox(2, 3, 10, 7, [[color (API)|colors]].lime)'''&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>MKlegoman357</name></author>	</entry>

	</feed>