Class: QgsDropShadowEffect

A paint effect which draws an offset and optionally blurred drop shadow.

Class Hierarchy

Inheritance diagram of qgis.core.QgsDropShadowEffect

Base classes

QgsShadowEffect

Base class for paint effects which render offset, blurred shadows.

QgsPaintEffect

Base class for visual effects which can be applied to QPicture drawings.

Static Methods

create

Creates a new QgsDropShadowEffect effect from a properties string map.

class qgis.core.QgsDropShadowEffect[source]

Bases: QgsShadowEffect

static create(map: Dict[str, Any]) QgsPaintEffect | None[source]

Creates a new QgsDropShadowEffect effect from a properties string map.

Parameters:

map (Dict[str, Any]) – encoded properties string map

Return type:

Optional[QgsPaintEffect]

Returns:

new QgsDropShadowEffect