Screen:clear: Difference between revisions

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..."
 
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''Available since:''' Gideros 2017.8<br/>
'''Available since:''' Gideros 2017.8<br/>
'''Class:''' [[Screen]]<br/>
=== Description ===
=== Description ===
Sets this screen's background to the provided color and opacity
Sets the screen background to the provided color and opacity.
<source lang="lua">
<syntaxhighlight lang="lua">
= Screen:clear(coloralpha,)
Screen:clear(color,alpha)
</source>
</syntaxhighlight>
'''color:''' (number) background color ''''''<br/>
 
'''alpha:''' (number) background transparency ''''''<br/>
=== Parameters ===
'''color''': (number) background color<br/>
'''alpha''': (number) background transparency<br/>
 
{{Screen}}

Latest revision as of 13:31, 13 July 2023

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