Difference between revisions of "Pixel:setDimensions"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.06<br/> === Description === Sets both width and height of the Pixel. <source lang="lua"> = Pixel:setDimensions(wh,) </source> '''...")
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2016.06<br/>
+
<languages />
=== Description ===
+
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
Sets both width and height of the Pixel.
+
'''<translate>Class</translate>:''' [[Special:MyLanguage/Pixel|Pixel]]<br/>
 +
=== <translate>Description</translate> ===
 +
<translate>Sets both width and height of the Pixel.</translate>
 
<source lang="lua">
 
<source lang="lua">
= Pixel:setDimensions(wh,)
+
Pixel:setDimensions(w,h)
 
</source>
 
</source>
'''w:''' (number) The new width ''''''<br/>
+
=== <translate>Parameters</translate> ===
'''h:''' (number) The new height ''''''<br/>
+
'''w''': (number) <translate>The new width</translate> <br/>
 +
'''h''': (number) <translate>The new height</translate> <br/>
 +
 
 +
{{Pixel}}

Revision as of 23:32, 3 December 2019


Available since: Gideros 2016.06
Class: Pixel

Description

Sets both width and height of the Pixel.

 Pixel:setDimensions(w,h)

Parameters

w: (number) The new width
h: (number) The new height