Difference between revisions of "Pixel:setWidth"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Pixel:setWidth(w) | Pixel:setWidth(w) | ||
− | </ | + | </syntaxhighlight> |
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
'''w''': (number) <translate>The new width.</translate> <br/> | '''w''': (number) <translate>The new width.</translate> <br/> | ||
{{Pixel}} | {{Pixel}} |
Revision as of 14:31, 13 July 2023
Available since: Gideros 2016.06
Class: Pixel
Description
Sets the width of the pixel sprite.
Pixel:setWidth(w)
Parameters
w: (number) The new width.