Difference between revisions of "Screen:clear"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2017.8<br/>
+
'''<translate>Available since</translate>:''' Gideros 2017.8<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate>Sets this screen's background to the provided color and opacity</translate>
 
<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 ===
+
=== <translate>Parameters</translate> ===
 
'''color''': (number) <translate>background color</translate> <br/>
 
'''color''': (number) <translate>background color</translate> <br/>
 
'''alpha''': (number) <translate>background transparency</translate> <br/>
 
'''alpha''': (number) <translate>background transparency</translate> <br/>

Revision as of 07:30, 24 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