Difference between revisions of "Screen:setSize"

From GiderosMobile
Line 6: Line 6:
 
  Screen:setSize(w,h)
 
  Screen:setSize(w,h)
 
</source>
 
</source>
'''w''': (number) The new width ''''''<br/>
+
=== Parameters ===
'''h''': (number) The new height ''''''<br/>
+
'''w''': (number) The new width <br/>
 +
'''h''': (number) The new height <br/>

Revision as of 10:41, 23 August 2018

Available since: Gideros 2017.8

Description

Attempts to fix the size of this screen or window, if allowed by the platform.

 Screen:setSize(w,h)

Parameters

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