TextureBase:getWidth: Difference between revisions
From GiderosMobile
m Text replacement - "<source" to "<syntaxhighlight" |
m Text replacement - "</source>" to "</syntaxhighlight>" |
||
| Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(number) = TextureBase:getWidth() | (number) = TextureBase:getWidth() | ||
</ | </syntaxhighlight> | ||
=== Return values === | === Return values === | ||
Revision as of 13: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