|
Wt
4.10.0
|
A gradient color stop. More...
#include <WGradient.h>
Public Member Functions | |
| ColorStop (double position, const WColor &color) | |
| Constructor. | |
| double | position () const |
| Returns the position. | |
| const WColor & | color () const |
| Returns the color. | |
| bool | operator== (const ColorStop &other) const |
| Comparison operator. | |
| bool | operator!= (const ColorStop &other) const |
| Comparison operator. | |
A gradient color stop.
A color stop is defined by a color and a (relative) position. The interpretation of the position depends on the gradient style.