TextureBase:getWidth: Difference between revisions
From GiderosMobile
No edit summary |
mNo edit summary |
||
| (7 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() | (number) = TextureBase:getWidth() | ||
</ | </syntaxhighlight> | ||
=== Return values === | === Return values === | ||
'''Returns''' (number) | '''Returns''' (number) the width of the texture in pixels<br/> | ||
{{TextureBase}} | |||
Latest revision as of 20: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