Class: QgsMeshRendererScalarSettings¶
-
class
qgis.core.
QgsMeshRendererScalarSettings
¶ Bases:
sip.wrapper
Represents a mesh renderer settings for scalar datasets
Note
The API is considered EXPERIMENTAL and can be changed without a notice
New in version 3.2: Enums
Methods
Returns max value used for creation of the color ramp shader
Returns min value used for creation of the color ramp shader
Returns color ramp shader function
Returns opacity
Reads configuration from the given DOM element
Sets min/max values used for creation of the color ramp shader
Sets color ramp shader function
Sets opacity
Writes configuration to a new DOM element
Signals
Attributes
-
classificationMaximum
(self) → float¶ Returns max value used for creation of the color ramp shader
-
classificationMinimum
(self) → float¶ Returns min value used for creation of the color ramp shader
-
colorRampShader
(self) → QgsColorRampShader¶ Returns color ramp shader function
-
opacity
(self) → float¶ Returns opacity
-
readXml
(self, elem: QDomElement)¶ Reads configuration from the given DOM element
-
setClassificationMinimumMaximum
(self, minimum: float, maximum: float)¶ Sets min/max values used for creation of the color ramp shader
-
setColorRampShader
(self, shader: QgsColorRampShader)¶ Sets color ramp shader function
-
setOpacity
(self, opacity: float)¶ Sets opacity
-
writeXml
(self, doc: QDomDocument) → QDomElement¶ Writes configuration to a new DOM element
-