Difference between revisions of "Screen:setSize"

From GiderosMobile
Line 11: Line 11:
 
'''w''': (number) <translate>The new width</translate> <br/>
 
'''w''': (number) <translate>The new width</translate> <br/>
 
'''h''': (number) <translate>The new height</translate> <br/>
 
'''h''': (number) <translate>The new height</translate> <br/>
 +
 +
{{Screen}}

Revision as of 22:42, 3 December 2019


Available since: Gideros 2017.8
Class: Screen

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