Screen: Difference between revisions

From GiderosMobile
No edit summary
PaulR (talk | contribs)
No edit summary
Line 4: Line 4:
'''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/>
'''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/>
'''<translate>Available since</translate>:''' Gideros 2017.8<br/>
'''<translate>Available since</translate>:''' Gideros 2017.8<br/>
'''<translate>Inherits from</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
'''<translate>Inherits from</translate>:''' [[Special:MyLanguage/Object|Object]]<br/>
=== <translate>Description</translate> ===
=== <translate>Description</translate> ===
<translate>Screen class allows to access secondary displays or windows.</translate>
<translate>Screen class allows to access secondary displays or windows.</translate>

Revision as of 23:11, 18 October 2018


Supported platforms:
Available since: Gideros 2017.8
Inherits from: Object

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