![]() |
Public API Reference |
#include <gradient.h>
Public Methods | |
| csGradientShade () | |
| Construct with all values set to 0. More... | |
| csGradientShade (csColor left_color, csColor right_color, float pos) | |
| Construct supplying all values. More... | |
| csGradientShade (csColor color, float pos) | |
| Construct using a color and position. More... | |
Public Attributes | |
| csColor | left |
| Color of the left side. More... | |
| csColor | right |
| Color of the right side. More... | |
| float | position |
| Position in the gradient. More... | |
Definition at line 36 of file gradient.h.
|
|
Construct with all values set to 0.
|
|
||||||||||||||||
|
Construct supplying all values.
|
|
||||||||||||
|
Construct using a color and position. Both left and right will have the value of color. |
|
|
Color of the left side.
Definition at line 39 of file gradient.h. |
|
|
Position in the gradient.
Definition at line 43 of file gradient.h. |
|
|
Color of the right side.
Definition at line 41 of file gradient.h. |