Pixel:setDimensions: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
'''Available since:''' Gideros 2016.06<br/> | '''Available since:''' Gideros 2016.06<br/> | ||
=== Description === | === Description === | ||
Sets both width and height of the Pixel. | <translate>Sets both width and height of the Pixel.</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
Pixel:setDimensions(w,h) | Pixel:setDimensions(w,h) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
'''w''': (number) The new width <br/> | '''w''': (number) <translate>The new width</translate> <br/> | ||
'''h''': (number) The new height <br/> | '''h''': (number) <translate>The new height</translate> <br/> | ||
Revision as of 12:34, 23 August 2018
Available since: Gideros 2016.06
Description
Sets both width and height of the Pixel.
Pixel:setDimensions(w,h)
Parameters
w: (number) The new width
h: (number) The new height