Pixel:setWidth: Difference between revisions
From GiderosMobile
No edit summary |
m Text replacement - "<source" to "<syntaxhighlight" |
||
| Line 5: | Line 5: | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<translate>Sets the width of the pixel sprite.</translate> | <translate>Sets the width of the pixel sprite.</translate> | ||
< | <syntaxhighlight lang="lua"> | ||
Pixel:setWidth(w) | Pixel:setWidth(w) | ||
</source> | </source> | ||
Revision as of 13:30, 13 July 2023
Available since: Gideros 2016.06
Class: Pixel
Description
Sets the width of the pixel sprite. <syntaxhighlight lang="lua">
Pixel:setWidth(w)
</source>
Parameters
w: (number) The new width.