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