Difference between revisions of "Screen:clear"
From GiderosMobile
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. | ||
− | < | + | <syntaxhighlight lang="lua"> |
Screen:clear(color,alpha) | Screen:clear(color,alpha) | ||
− | </ | + | </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