| QGIS API Documentation
    3.20.0-Odense (decaadbb31)
    | 
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 112 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 121 of file qgscolorramp.h.
| 
 | inline | 
Definition at line 131 of file qgscolorramp.h.
| QColor QgsGradientStop::color | 
Gradient color at stop.
Definition at line 129 of file qgscolorramp.h.
| double QgsGradientStop::offset | 
Relative positional offset, between 0 and 1.
Definition at line 127 of file qgscolorramp.h.