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__ | ||
− | ''' | + | '''Available since:''' Gideros 2016.10<br/> |
− | ''' | + | '''Class:''' [[Pixel]]<br/> |
− | === | + | |
− | + | === Description === | |
− | < | + | Returns the width and height of the '''Pixel'''. |
+ | <syntaxhighlight lang="lua"> | ||
(number), (number) = Pixel:getDimensions() | (number), (number) = Pixel:getDimensions() | ||
− | </ | + | </syntaxhighlight> |
− | === | + | |
− | ''' | + | === Return values === |
− | ''' | + | '''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