TextureBase:getSize: Difference between revisions

From GiderosMobile
Rrraptor (talk | contribs)
Created page with "__NOTOC__ '''Available since:''' Gideros 2021.10<br/> '''Class:''' TextureBase<br/> === Description === Returns the size of a texture. <source lang="lua"> (number), (numb..."
 
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
=== Description ===
=== Description ===
Returns the size of a texture.
Returns the size of a texture.
<source lang="lua">
<syntaxhighlight lang="lua">
(number), (number) = TextureBase:getSize()
(number), (number) = TextureBase:getSize()
</source>
</syntaxhighlight>


=== Return values ===
=== Return values ===

Latest revision as of 13:33, 13 July 2023

Available since: Gideros 2021.10
Class: TextureBase

Description

Returns the size of a texture.

(number), (number) = TextureBase:getSize()

Return values

Returns (number) the width of the texture
Returns (number) the height of the texture