Difference between revisions of "TextureBase:getWidth"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the width of the texture in pixels.<br /> <br /> <source lang="lua"> (number), = Textur...")
 
m
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[TextureBase]]<br/>
 +
 
=== Description ===
 
=== Description ===
<br />
+
Returns the width of the texture in pixels.
Returns the width of the texture in pixels.<br />
+
<syntaxhighlight lang="lua">
<br />
+
(number) = TextureBase:getWidth()
<source lang="lua">
+
</syntaxhighlight>
(number), = TextureBase:getWidth()
+
 
</source>
+
=== Return values ===
'''Returns''' (number) The width of the texture in pixels.<br/>
+
'''Returns''' (number) the width of the texture in pixels<br/>
 +
 
 +
{{TextureBase}}

Latest revision as of 21:12, 5 September 2024