Difference between revisions of "Pixel:getDimensions"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(number), (number) = Pixel:getDimensions()
 
(number), (number) = Pixel:getDimensions()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Latest revision as of 14:32, 13 July 2023

Available since: Gideros 2016.10
Class: Pixel

Description

Returns the width and height of the Pixel.

(number), (number) = Pixel:getDimensions()

Return values

Returns (number) the Pixel width
Returns (number) the Pixel height