Table of Contents

TextureBase:getWidth

Available since version: Gideros 2011.6

Description:

Returns the width of the texture in pixels.

Syntax:

(number) = TextureBase:getWidth()

Return value:

  • number: The width of the texture in pixels.