Class: QgsMultiBandColorRenderer

class qgis.core.QgsMultiBandColorRenderer

Bases: qgis._core.QgsRasterRenderer

Renderer for multiband images with the color components

block(self, bandNo: int, extent: QgsRectangle, width: int, height: int, feedback: QgsRasterBlockFeedback = None) → QgsRasterBlock
blueBand(self) → int
blueContrastEnhancement(self) → QgsContrastEnhancement
clone(self) → QgsMultiBandColorRenderer

QgsMultiBandColorRenderer cannot be copied. Use clone() instead.

create(elem: QDomElement, input: QgsRasterInterface) → QgsRasterRenderer
greenBand(self) → int
greenContrastEnhancement(self) → QgsContrastEnhancement
initHistogram()
initStatistics()
redBand(self) → int
redContrastEnhancement(self) → QgsContrastEnhancement
setBlueBand(self, band: int)
setBlueContrastEnhancement(self, ce: QgsContrastEnhancement)

Takes ownership

setGreenBand(self, band: int)
setGreenContrastEnhancement(self, ce: QgsContrastEnhancement)

Takes ownership

setRedBand(self, band: int)
setRedContrastEnhancement(self, ce: QgsContrastEnhancement)

Takes ownership

usesBands(self) → List[int]
writeXml(self, doc: QDomDocument, parentElem: QDomElement)