Difference between revisions of "Pixel:setWidth"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 
=== Description ===
 
=== Description ===
Sets the width of the pixel sprite.
+
<translate>Sets the width of the pixel sprite.</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Pixel:setWidth(w)
 
  Pixel:setWidth(w)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''w''': (number) The new width. <br/>
+
'''w''': (number) <translate>The new width.</translate> <br/>

Revision as of 13:33, 23 August 2018

Available since: Gideros 2016.06

Description

Sets the width of the pixel sprite.

 Pixel:setWidth(w)

Parameters

w: (number) The new width.