TextureBase:getWidth

From GiderosMobile
Revision as of 14:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2011.6
Class: TextureBase

Description

Returns the width of the texture in pixels. <syntaxhighlight lang="lua"> (number) = TextureBase:getWidth() </source>

Return values

Returns (number) the width of the texture in pixels