Screen:clear: Difference between revisions

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