Difference between revisions of "Screen:clear"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2017.8<br/>
 
'''Available since:''' Gideros 2017.8<br/>
 
=== Description ===
 
=== Description ===
Sets this screen's background to the provided color and opacity
+
<translate>Sets this screen's background to the provided color and opacity</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Screen:clear(color,alpha)
 
  Screen:clear(color,alpha)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''color''': (number) background color <br/>
+
'''color''': (number) <translate>background color</translate> <br/>
'''alpha''': (number) background transparency <br/>
+
'''alpha''': (number) <translate>background transparency</translate> <br/>

Revision as of 13:35, 23 August 2018

Available since: Gideros 2017.8

Description

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

 Screen:clear(color,alpha)

Parameters

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