Class: QgsMapSettingsUtils

class qgis.core.QgsMapSettingsUtils

Bases: sip.wrapper

Utilities for map settings.

Methods

containsAdvancedEffects

Checks whether any of the layers attached to a map settings object contain advanced effects

worldFileContent

Creates the content of a world file.

containsAdvancedEffects(mapSettings: QgsMapSettings) → List[str]

Checks whether any of the layers attached to a map settings object contain advanced effects

Parameters

mapSettings (QgsMapSettings) – map settings

Return type

List[str]

worldFileContent(mapSettings: QgsMapSettings) → str

Creates the content of a world file.

Parameters

mapSettings (QgsMapSettings) – map settings

Note

Uses 17 places of precision for all numbers output

Return type

str