PCL
|
Gradient stop. More...
#include <Brush.h>
Public Member Functions | |
Stop ()=default | |
Stop (const Stop &)=default | |
Stop (double p, RGBA c) | |
bool | operator< (const Stop &x) const |
bool | operator== (const Stop &x) const |
Public Attributes | |
RGBA | color = 0xff000000 |
Stop color encoded as a 32-bit AARRGGBB value. | |
double | position = 0 |
Stop position in the [0,1] range, where 0 and 1 correspond, respectively, to the starting and end locations of the gradient area. | |
A gradient brush interpolates color values from an ordered list of gradient stops. A gradient stop is formed by a position in the [0,1] range and a RGBA color value.
|
default |
Constructs a default gradient stop.
|
inline |
|
default |
Copy constructor.
|
inline |
|
inline |