Difference between revisions of "Pixel:setDimensions"

From GiderosMobile
(remove language stuff)
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Sets both width and height of the '''Pixel'''.
 
Sets both width and height of the '''Pixel'''.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Pixel:setDimensions(w,h)
 
Pixel:setDimensions(w,h)
 
</source>
 
</source>

Revision as of 15:30, 13 July 2023

Available since: Gideros 2016.06
Class: Pixel

Description

Sets both width and height of the Pixel. <syntaxhighlight lang="lua"> Pixel:setDimensions(w,h) </source>

Parameters

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