Difference between revisions of "Screen:clear"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2017.8<br/> === Description === Sets this screen's background to the provided color and opacity <source lang="lua"> = Screen:clear(col...")
 
Line 4: Line 4:
 
Sets this screen's background to the provided color and opacity
 
Sets this screen's background to the provided color and opacity
 
<source lang="lua">
 
<source lang="lua">
= Screen:clear(coloralpha,)
+
Screen:clear(color,alpha)
 
</source>
 
</source>
'''color:''' (number) background color ''''''<br/>
+
'''color''': (number) background color ''''''<br/>
'''alpha:''' (number) background transparency ''''''<br/>
+
'''alpha''': (number) background transparency ''''''<br/>

Revision as of 11:22, 23 August 2018

Available since: Gideros 2017.8

Description

Sets this screen's background to the provided color and opacity

 Screen:clear(color,alpha)

'color: (number) background color '
'alpha: (number) background transparency '