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 === | ||
− | + | Returns the width of the texture in pixels. | |
− | Returns the width of the texture in pixels. | + | <syntaxhighlight lang="lua"> |
− | < | + | (number) = TextureBase:getWidth() |
− | + | </syntaxhighlight> | |
− | (number) | + | |
− | </ | + | === Return values === |
− | '''Returns''' (number) | + | '''Returns''' (number) the width of the texture in pixels<br/> |
+ | |||
+ | {{TextureBase}} |
Latest revision as of 21:12, 5 September 2024
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