Class: QgsFixedGradientBackgroundSettings¶
Background settings for a two-color vertical gradient rendered behind the 3D scene.
Added in version 4.2.
Class Hierarchy¶
Base classes¶
Base class for all background settings classes used in a 3D map view. |
Methods
Returns the color at the bottom of the gradient. |
|
Sets the color at the bottom of the gradient. |
|
Sets the color at the top of the gradient. |
|
Returns the color at the top of the gradient. |
- class qgis._3d.QgsFixedGradientBackgroundSettings[source]¶
Bases:
QgsAbstract3DMapBackgroundSettings- bottomColor(self) QColor[source]¶
Returns the color at the bottom of the gradient.
See also
- Return type:
QColor
- setBottomColor(self, color: QColor | Qt.GlobalColor | int)[source]¶
Sets the
colorat the bottom of the gradient.See also
- Parameters:
color (Union[QColor, Qt.GlobalColor, int])
- setTopColor(self, color: QColor | Qt.GlobalColor | int)[source]¶
Sets the
colorat the top of the gradient.See also
- Parameters:
color (Union[QColor, Qt.GlobalColor, int])