Difference between revisions of "Pixel:getDimensions"
From GiderosMobile
(remove language stuff) |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Returns the width and height of the '''Pixel'''. | Returns the width and height of the '''Pixel'''. | ||
− | < | + | <syntaxhighlight lang="lua"> |
(number), (number) = Pixel:getDimensions() | (number), (number) = Pixel:getDimensions() | ||
− | </ | + | </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