![]() |
Public API Reference |
![]() |
An entry in an iGradient gradient. More...
#include <ivaria/gradient.h>
Public Member Functions | |
csGradientShade () | |
Construct with all values set to 0. | |
csGradientShade (const csColor4 &left_color, const csColor4 &right_color, float pos) | |
Construct supplying all values. | |
csGradientShade (const csColor &left_color, const csColor &right_color, float pos) | |
Construct supplying all values. | |
csGradientShade (const csColor4 &color, float pos) | |
Construct using a color and position. | |
csGradientShade (const csColor &color, float pos) | |
Construct using a color and position. | |
Public Attributes | |
csColor4 | left |
Color of the left side. | |
float | position |
Position in the gradient. | |
csColor4 | right |
Color of the right side. |
An entry in an iGradient gradient.
Definition at line 36 of file gradient.h.
csGradientShade::csGradientShade | ( | ) | [inline] |
Construct with all values set to 0.
Definition at line 46 of file gradient.h.
csGradientShade::csGradientShade | ( | const csColor4 & | left_color, |
const csColor4 & | right_color, | ||
float | pos | ||
) | [inline] |
Construct supplying all values.
Definition at line 50 of file gradient.h.
csGradientShade::csGradientShade | ( | const csColor & | left_color, |
const csColor & | right_color, | ||
float | pos | ||
) | [inline, explicit] |
Construct supplying all values.
Definition at line 53 of file gradient.h.
csGradientShade::csGradientShade | ( | const csColor4 & | color, |
float | pos | ||
) | [inline] |
Construct using a color and position.
Both left and right will have the value of color.
Definition at line 61 of file gradient.h.
csGradientShade::csGradientShade | ( | const csColor & | color, |
float | pos | ||
) | [inline, explicit] |
Construct using a color and position.
Both left and right will have the value of color.
Definition at line 67 of file gradient.h.
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.