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 (Text replacement - "</source>" to "</syntaxhighlight>")
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/TextureBase|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 15:33, 13 July 2023

Available since: Gideros 2011.6
Class: TextureBase

Description

Returns the width of the texture in pixels.

(number) = TextureBase:getWidth()

Return values

Returns (number) the width of the texture in pixels