Difference between revisions of "Pixel:getDimensions"

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

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