<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DxGetBounds?action=history&amp;feed=atom</id>
	<title>DxGetBounds - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DxGetBounds?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxGetBounds&amp;action=history"/>
	<updated>2026-05-10T06:02:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DxGetBounds&amp;diff=65550&amp;oldid=prev</id>
		<title>LopSided: Created page with &quot;{{Client function}} __NOTOC__ This function returns the absolute local bounds of any DxElement.  ==Syntax== &lt;syntaxhighlight lang=&quot;lua&quot;&gt; bool dxGetBounds ( DxElement dxElement...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DxGetBounds&amp;diff=65550&amp;oldid=prev"/>
		<updated>2020-03-24T16:41:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Client function}} __NOTOC__ This function returns the absolute local bounds of any DxElement.  ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool dxGetBounds ( DxElement dxElement...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function returns the absolute local bounds of any DxElement.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool dxGetBounds ( DxElement dxElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||DxElement:getBounds}}&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
*'''dxElement:''' element you wish to get the bounds for&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns 4 integers&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example creates a window and prints the bounds.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local window = DxWindow:new(50, 50, 300, 300, &amp;quot;My Window&amp;quot;)&lt;br /&gt;
local minX, minY, maxX, maxY = dxGetBounds(window)&lt;br /&gt;
&lt;br /&gt;
iprint(minX, minY, maxX, maxY) --50, 50, 350, 350&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{TDX_general_functions}}&lt;/div&gt;</summary>
		<author><name>LopSided</name></author>
	</entry>
</feed>