Difference between revisions of "TextureBase:getWidth"

From GiderosMobile
m (formatting)
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Returns the width of the texture in pixels.
 
Returns the width of the texture in pixels.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = TextureBase:getWidth()
 
(number) = TextureBase:getWidth()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

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