Difference between revisions of "TextureBase:getWidth"

m (formatting)
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
 
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/TextureBase|TextureBase]]<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/TextureBase|TextureBase]]<br/>
=== <translate>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
Returns the width of the texture in pixels.<br />
+
Returns the width of the texture in pixels.
<br /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
 
(number) = TextureBase:getWidth()
 
(number) = TextureBase:getWidth()
 
</source>
 
</source>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (number) <translate>The width of the texture in pixels.</translate><br/>
+
=== Return values ===
 +
'''Returns''' (number) the width of the texture in pixels<br/>
  
 
{{TextureBase}}
 
{{TextureBase}}

Latest revision as of 02:27, 25 March 2020

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