QGIS API Documentation
3.6.0-Noosa (5873452)
|
Represents a color stop within a QgsGradientColorRamp color ramp. More...
#include <qgscolorramp.h>
Public Member Functions | |
QgsGradientStop (double offset, const QColor &color) | |
Constructor for QgsGradientStop. More... | |
bool | operator== (const QgsGradientStop &other) const |
Public Attributes | |
QColor | color |
Gradient color at stop. More... | |
double | offset |
Relative positional offset, between 0 and 1. More... | |
Represents a color stop within a QgsGradientColorRamp color ramp.
Definition at line 101 of file qgscolorramp.h.
|
inline |
Constructor for QgsGradientStop.
offset | positional offset for stop, between 0 and 1.0 |
color | color for stop |
Definition at line 110 of file qgscolorramp.h.
|
inline |
Definition at line 120 of file qgscolorramp.h.
QColor QgsGradientStop::color |
Gradient color at stop.
Definition at line 118 of file qgscolorramp.h.
double QgsGradientStop::offset |
Relative positional offset, between 0 and 1.
Definition at line 116 of file qgscolorramp.h.