Difference between revisions of "Screen:clear"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
Screen:clear(color,alpha)
 
Screen:clear(color,alpha)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 14: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