Difference between revisions of "Application:setBackgroundColor"

From GiderosMobile
m
Line 1: Line 1:
 +
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Class:''' [[Application]]<br/>
 
'''Class:''' [[Application]]<br/>
Line 4: Line 5:
 
=== Description ===
 
=== Description ===
 
Sets the background color (or clear color) of the application in hexadecimal format. Default background color is white (0xffffff).
 
Sets the background color (or clear color) of the application in hexadecimal format. Default background color is white (0xffffff).
 
 
<source lang="lua">
 
<source lang="lua">
 
application:setBackgroundColor(color)
 
application:setBackgroundColor(color)

Revision as of 03:55, 5 December 2020

Available since: Gideros 2011.6
Class: Application

Description

Sets the background color (or clear color) of the application in hexadecimal format. Default background color is white (0xffffff).

application:setBackgroundColor(color)

Parameters

color: (number) background color in hexadecimal format

See Also

Stage:setClearColorBuffer