Difference between revisions of "Screen:clear"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2017.8<br/>
'''<translate>Available since</translate>:''' Gideros 2017.8<br/>
+
'''Class:''' [[Screen]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Screen|Screen]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Sets this screen's background to the provided color and opacity</translate>
+
Sets the screen background to the provided color and opacity.
 
<source lang="lua">
 
<source lang="lua">
Screen:clear(color,alpha)
+
Screen:clear(color,alpha)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''color''': (number) <translate>background color</translate> <br/>
+
=== Parameters ===
'''alpha''': (number) <translate>background transparency</translate> <br/>
+
'''color''': (number) background color<br/>
 +
'''alpha''': (number) background transparency<br/>
  
 
{{Screen}}
 
{{Screen}}

Revision as of 03:03, 28 April 2021

Available since: Gideros 2017.8
Class: Screen

Description

Sets the screen background to the provided color and opacity.

Screen:clear(color,alpha)

Parameters

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