Screen:clear: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
=== Description ===
=== Description ===
Sets the screen 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(color,alpha)
Screen:clear(color,alpha)
</source>
</syntaxhighlight>


=== Parameters ===
=== Parameters ===

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