#include <gradient.h>
Attributes | |
| bool | operator== (const CL_Gradient &other) const |
| Compares gradient to another one. | |
| bool | operator!= (const CL_Gradient &other) const |
| Compares gradient to another one. | |
| CL_Colorf | top_left |
| Color of top left corner of gradient. | |
| CL_Colorf | top_right |
| Color of top right corner of gradient. | |
| CL_Colorf | bottom_left |
| Color of bottom left corner of gradient. | |
| CL_Colorf | bottom_right |
| Color of bottom right corner of gradient. | |
Public Member Functions | |
Construction | |
| CL_Gradient () | |
| Constructs a color gradient. | |
| CL_Gradient (const CL_Colorf &top_left, const CL_Colorf &top_right, const CL_Colorf &bottom_left, const CL_Colorf &bottom_right) | |
| CL_Gradient (const CL_Colorf &first_color, const CL_Colorf &second_color) | |
| Constructs a Gradient. | |
|
|
Constructs a color gradient.
|
|
||||||||||||||||||||
|
|
|
||||||||||||
|
Constructs a Gradient.
|
|
|
Compares gradient to another one.
|
|
|
Compares gradient to another one.
|
|
|
Color of bottom left corner of gradient.
|
|
|
Color of bottom right corner of gradient.
|
|
|
Color of top left corner of gradient.
|
|
|
Color of top right corner of gradient.
|
1.4.6