Difference between revisions of "Pixel:getDimensions"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' in development<br/>
+
'''Available since:''' Gideros 2016.10<br/>
 +
'''Class:''' [[Pixel]]<br/>
 +
 
 
=== Description ===
 
=== Description ===
Return the width and height of the Pixel
+
Returns the width and height of the '''Pixel'''.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number) = Pixel:getDimensions()
 
(number), (number) = Pixel:getDimensions()
</source>
+
</syntaxhighlight>
'''Returns''' (number) The Pixel's width<br/>
+
 
'''Returns''' (number) The Pixel's height<br/>
+
=== Return values ===
 +
'''Returns''' (number) the Pixel width<br/>
 +
'''Returns''' (number) the Pixel height<br/>
 +
 
 +
{{Pixel}}

Latest revision as of 15: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