QgsOuterGlowEffect class
A paint effect which draws a glow outside of a picture.
Contents
Base classes
- class QgsGlowEffect
- Base class for paint effect which draw a glow inside or outside a picture.
Public static functions
- static auto create(const QgsStringMap& map) -> QgsPaintEffect*
- Creates a new QgsOuterGlowEffect effect from a properties string map.
Public functions
- auto clone() const -> QgsOuterGlowEffect* override
- Duplicates an effect by creating a deep copy of the effect.
- auto type() const -> QString override
- Returns the effect type.
Protected functions
- auto shadeExterior() const -> bool override
- Specifies whether the glow is drawn outside the picture or within the picture.
Function documentation
static QgsPaintEffect* QgsOuterGlowEffect:: create(const QgsStringMap& map)
Creates a new QgsOuterGlowEffect effect from a properties string map.
| Parameters | |
|---|---|
| map | encoded properties string map |
| Returns | new QgsOuterGlowEffect |
QgsOuterGlowEffect* QgsOuterGlowEffect:: clone() const override
Duplicates an effect by creating a deep copy of the effect.
| Returns | clone of paint effect |
|---|
QString QgsOuterGlowEffect:: type() const override
Returns the effect type.
| Returns | unique string representation of the effect type |
|---|
bool QgsOuterGlowEffect:: shadeExterior() const override protected
Specifies whether the glow is drawn outside the picture or within the picture.
| Returns | true if glow is to be drawn outside the picture, or false to draw glow within the picture |
|---|