Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.
Public Constructors
public
Background
(float pRed, float pGreen, float pBlue)
public
Background
(float pRed, float pGreen, float pBlue, float pAlpha)
public
Background
(Color pColor)
Protected Constructors
Public Methods
public
void
clearBackgroundModifiers
()
public
boolean
isColorEnabled
()
public
void
onUpdate
(float pSecondsElapsed)
public
void
setColor
(Color pColor)
public
void
setColor
(float pRed, float pGreen, float pBlue, float pAlpha)
Sets the color using the arithmetic scheme (0.0f - 1.0f RGBA quadruple).
Parameters
pRed
| The red color value. Should be between 0.0 and 1.0, inclusive. |
pGreen
| The green color value. Should be between 0.0 and 1.0, inclusive. |
pBlue
| The blue color value. Should be between 0.0 and 1.0, inclusive. |
pAlpha
| The alpha color value. Should be between 0.0 and 1.0, inclusive.
|
public
void
setColor
(float pRed, float pGreen, float pBlue)
Sets the color using the arithmetic scheme (0.0f - 1.0f RGB triple).
Parameters
pRed
| The red color value. Should be between 0.0 and 1.0, inclusive. |
pGreen
| The green color value. Should be between 0.0 and 1.0, inclusive. |
pBlue
| The blue color value. Should be between 0.0 and 1.0, inclusive.
|
public
void
setColorEnabled
(boolean pColorEnabled)