Difference between revisions of "Screen"

From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2017.8<br/> === Description === Screen class allows to access secondary displays or windows.{|- | sty...")
 
Line 3: Line 3:
 
'''Available since:''' Gideros 2017.8<br/>
 
'''Available since:''' Gideros 2017.8<br/>
 
=== Description ===
 
=== Description ===
Screen class allows to access secondary displays or windows.{|-
+
 
 +
Screen class allows to access secondary displays or windows.
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
   
 +
{|-
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Methods ===
 
=== Methods ===
 +
[[Screen.new]] - Open a new screen<br/>
 +
[[Screen:clear]] - Sets the background color of this screen<br/>
 +
[[Screen:getId]] - Returns the screen's id<br/>
 +
[[Screen:getMaxSize]] - Returns the maximum size this screen can have<br/>
 +
[[Screen:getPosition]] - Returns the position of this screen<br/>
 +
[[Screen:getSize]] - Returns the size of this screen<br/>
 +
[[Screen:getState]] - Returns the state of this screen<br/>
 +
[[Screen:setContent]] - <br/>
 +
[[Screen:setPosition]] - Sets the position of this screen, if possible.<br/>
 +
[[Screen:setSize]] - Sets the size of this screen, if possible.<br/>
 +
[[Screen:setState]] - Sets the state of this screen, if possible.<br/>
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Events ===
 
=== Events ===
 
=== Constants ===
 
=== Constants ===
 
|}
 
|}

Revision as of 08:57, 23 August 2018

Supported platforms:
Available since: Gideros 2017.8

Description

Screen class allows to access secondary displays or windows.






Methods

Screen.new - Open a new screen
Screen:clear - Sets the background color of this screen
Screen:getId - Returns the screen's id
Screen:getMaxSize - Returns the maximum size this screen can have
Screen:getPosition - Returns the position of this screen
Screen:getSize - Returns the size of this screen
Screen:getState - Returns the state of this screen
Screen:setContent -
Screen:setPosition - Sets the position of this screen, if possible.
Screen:setSize - Sets the size of this screen, if possible.
Screen:setState - Sets the state of this screen, if possible.

Events

Constants