Pixel:getDimensions: Difference between revisions
From GiderosMobile
remove language stuff |
m Text replacement - "<source" to "<syntaxhighlight" |
||
| 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() | ||
</source> | </source> | ||
Revision as of 13:30, 13 July 2023
Available since: Gideros 2016.10
Class: Pixel
Description
Returns the width and height of the Pixel. <syntaxhighlight lang="lua"> (number), (number) = Pixel:getDimensions() </source>
Return values
Returns (number) the Pixel width
Returns (number) the Pixel height