Gnash
0.8.11dev
|
A SolidFill containing one color. More...
#include <FillStyle.h>
Public Member Functions | |
SolidFill (rgba c) | |
Construct a SolidFill. More... | |
SolidFill (const SolidFill &other) | |
Copy a SolidFill. More... | |
void | setLerp (const SolidFill &a, const SolidFill &b, double ratio) |
Set this fill to a lerp of two other SolidFills. More... | |
rgba | color () const |
Get the color of the fill. More... | |
A SolidFill containing one color.
SolidFills are the simplest fill, containing only a single color.
|
inline |
Get the color of the fill.
Set this fill to a lerp of two other SolidFills.
References gnash::key::a, gnash::key::b, and gnash::lerp().