Pixel:setDimensions: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2016.06<br/> | '''<translate>Available since</translate>:''' Gideros 2016.06<br/> | ||
=== Description === | === <translate>Description</translate> === | ||
<translate>Sets both width and height of the Pixel.</translate> | <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 === | === <translate>Parameters</translate> === | ||
'''w''': (number) <translate>The new width</translate> <br/> | '''w''': (number) <translate>The new width</translate> <br/> | ||
'''h''': (number) <translate>The new height</translate> <br/> | '''h''': (number) <translate>The new height</translate> <br/> | ||
Revision as of 06:28, 24 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