Class: QgsRandomColorRamp¶
Totally random color ramp. Returns colors generated at random, but constrained to some hardcoded saturation and value ranges to prevent ugly color generation.
Class Hierarchy¶
Base classes¶
Abstract base class for color ramps |
Methods
Sets the desired total number of unique colors for the resultant ramp. |
Static Methods
Returns the string identifier for QgsRandomColorRamp. |
- class qgis.core.QgsRandomColorRamp[source]¶
Bases:
QgsColorRamp