| 
    QGIS API Documentation
    2.18.21-Las Palmas (9fba24a)
    
   | 
 
Represents a color stop within a gradient color ramp. More...
#include <qgsvectorcolorrampv2.h>
Public Member Functions | |
| QgsGradientStop (double o, const QColor &c) | |
| 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 gradient color ramp.
Definition at line 67 of file qgsvectorcolorrampv2.h.
      
  | 
  inline | 
Constructor for QgsGradientStop.
| o | positional offset for stop, between 0 and 1.0 | 
| c | color for stop | 
Definition at line 75 of file qgsvectorcolorrampv2.h.
      
  | 
  inline | 
Definition at line 85 of file qgsvectorcolorrampv2.h.
| QColor QgsGradientStop::color | 
Gradient color at stop.
Definition at line 83 of file qgsvectorcolorrampv2.h.
| double QgsGradientStop::offset | 
Relative positional offset, between 0 and 1.
Definition at line 81 of file qgsvectorcolorrampv2.h.
 1.8.13