QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
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. More... | |
QgsColorRamp * | ramp () const |
Returns the entity's color ramp. More... | |
QgsStyle::StyleEntity | type () const override |
Returns the type of style entity. More... | |
Public Member Functions inherited from QgsStyleEntityInterface | |
virtual | ~QgsStyleEntityInterface ()=default |
virtual QgsStyle::StyleEntity | type () const =0 |
Returns the type of style entity. More... | |
A color ramp entity for QgsStyle databases.
Definition at line 1372 of file qgsstyle.h.
|
inline |
Constructor for QgsStyleColorRampEntity, with the specified color ramp.
Ownership of ramp is NOT transferred.
Definition at line 1381 of file qgsstyle.h.
|
inline |
Returns the entity's color ramp.
Definition at line 1390 of file qgsstyle.h.
|
overridevirtual |
Returns the type of style entity.
Implements QgsStyleEntityInterface.
Definition at line 3410 of file qgsstyle.cpp.