| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
A color ramp entity for QgsStyle databases. More...
#include <qgsstyle.h>

Public Member Functions | |
| QgsStyleColorRampEntity (QgsColorRamp *ramp) | |
| Constructor for QgsStyleColorRampEntity, with the specified color ramp.   | |
| QgsColorRamp * | ramp () const | 
| Returns the entity's color ramp.   | |
| QgsStyle::StyleEntity | type () const override | 
| Returns the type of style entity.   | |
  Public Member Functions inherited from QgsStyleEntityInterface | |
| virtual | ~QgsStyleEntityInterface ()=default | 
A color ramp entity for QgsStyle databases.
Definition at line 1428 of file qgsstyle.h.
      
  | 
  inline | 
Constructor for QgsStyleColorRampEntity, with the specified color ramp.
Ownership of ramp is NOT transferred.
Definition at line 1437 of file qgsstyle.h.
      
  | 
  inline | 
Returns the entity's color ramp.
Definition at line 1446 of file qgsstyle.h.
      
  | 
  overridevirtual | 
Returns the type of style entity.
Implements QgsStyleEntityInterface.
Definition at line 3441 of file qgsstyle.cpp.