Difference between revisions of "TextureBase:getWidth"
From GiderosMobile
m (formatting) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2011.6<br/> | + | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> |
+ | '''<translate>Class</translate>:''' [[Special:MyLanguage/TextureBase|TextureBase]]<br/> | ||
+ | |||
=== Description === | === Description === | ||
− | + | Returns the width of the texture in pixels. | |
− | Returns the width of the texture in pixels. | ||
− | |||
<source lang="lua"> | <source lang="lua"> | ||
(number) = TextureBase:getWidth() | (number) = TextureBase:getWidth() | ||
</source> | </source> | ||
− | '''Returns''' (number) | + | |
+ | === Return values === | ||
+ | '''Returns''' (number) the width of the texture in pixels<br/> | ||
+ | |||
+ | {{TextureBase}} |
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