Class: QgsCptCityColorRamp

class qgis.core.QgsCptCityColorRamp(schemeName: str = '', variantName: str = '', inverted: bool = False, doLoadFile: bool = True)

Bases: qgis._core.QgsGradientColorRamp

Constructor for QgsCptCityColorRamp

Parameters:
  • schemeName – cpt-city scheme name
  • variantName – cpt-city variant name
  • inverted – invert ramp ordering
  • doLoadFile – load cpt-city ramp from file

QgsCptCityColorRamp(schemeName: str, variantList: Iterable[str], variantName: str = ‘’, inverted: bool = False, doLoadFile: bool = True) Constructor for QgsCptCityColorRamp

Parameters:
  • schemeName – cpt-city scheme name
  • variantList – cpt-city variant list
  • variantName – cpt-city variant name
  • inverted – invert ramp ordering
  • doLoadFile – load cpt-city ramp from file

QgsCptCityColorRamp(QgsCptCityColorRamp)

clone(self) → QgsCptCityColorRamp
cloneGradientRamp(self) → QgsGradientColorRamp
copy(self, other: QgsCptCityColorRamp)
copyingFileName(self) → str
copyingInfo(self) → Dict[str, str]
create(properties: Dict[str, str] = {}) → QgsColorRamp
descFileName(self) → str
fileLoaded(self) → bool
fileName(self) → str
hasMultiStops(self) → bool
invert(self)
loadFile(self) → bool
loadPalette(self)
properties(self) → Dict[str, str]
schemeName(self) → str
setName(self, schemeName: str, variantName: str = '', variantList: Iterable[str] = [])
setSchemeName(self, schemeName: str)
setVariantList(self, variantList: Iterable[str])
setVariantName(self, variantName: str)
type(self) → str
variantList(self) → List[str]
variantName(self) → str