Difference between revisions of "Screen"
From GiderosMobile
(removed language stuff...) |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | |||
<!-- GIDEROSOBJ:Screen --> | <!-- GIDEROSOBJ:Screen --> | ||
− | ''' | + | '''Supported platforms:''' [[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/> |
− | ''' | + | '''Available since:''' Gideros 2017.8<br/> |
− | ''' | + | '''Inherits from:''' [[Object]]<br/> |
− | === | + | === Description === |
− | + | The '''Screen''' class allows to access secondary displays or windows. | |
{|- | {|- | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === | + | === Methods === |
− | [[ | + | [[Screen.new]] ''opens a new screen''<br/><!--GIDEROSMTD:Screen.new(id) opens a new screen--> |
− | [[ | + | [[Screen:clear]] ''sets the screen background color''<br/><!--GIDEROSMTD:Screen:clear(color,alpha) sets the screen background color--> |
− | [[ | + | [[Screen:getId]] ''returns the screen id''<br/><!--GIDEROSMTD:Screen:getId() returns the screen id--> |
− | [[ | + | [[Screen:getMaxSize]] ''returns the maximum size the screen can have''<br/><!--GIDEROSMTD:Screen:getMaxSize() returns the maximum size the screen can have--> |
− | [[ | + | [[Screen:getPosition]] ''returns the screen position''<br/><!--GIDEROSMTD:Screen:getPosition() returns the screen position--> |
− | [[ | + | [[Screen:getSize]] ''returns the screen size''<br/><!--GIDEROSMTD:Screen:getSize() returns the screen size--> |
− | [[ | + | [[Screen:getState]] ''returns the screen state''<br/><!--GIDEROSMTD:Screen:getState() returns the screen state--> |
− | [[ | + | [[Screen:setContent]] ''sets the screen content''<br/><!--GIDEROSMTD:Screen:setContent(content) sets the screen content--> |
− | [[ | + | [[Screen:setPosition]] ''sets the screen position (when possible)''<br/><!-- GIDEROSMTD:Screen:setPosition(x,y) sets the screen position (when possible)--> |
− | [[ | + | [[Screen:setSize]] ''sets the screen size (when possible)''<br/><!-- GIDEROSMTD:Screen:setSize(w,h) sets the screen size (when possible)--> |
− | [[ | + | [[Screen:setState]] ''sets the screen state (when possible)''<br/><!-- GIDEROSMTD:Screen:setState(state) sets the screen state (when possible)--> |
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === | + | === Events === |
− | === | + | === Constants === |
|} | |} | ||
{{GIDEROS IMPORTANT LINKS}} | {{GIDEROS IMPORTANT LINKS}} |
Revision as of 02:59, 28 April 2021
Supported platforms:
Available since: Gideros 2017.8
Inherits from: Object
Description
The Screen class allows to access secondary displays or windows.
MethodsScreen.new opens a new screen |
EventsConstants |