QgsInnerGlowEffect class
A paint effect which draws a glow within 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 QgsInnerGlowEffect effect from a properties string map.
Public functions
- auto clone() const -> QgsInnerGlowEffect* 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* QgsInnerGlowEffect:: create(const QgsStringMap& map)
Creates a new QgsInnerGlowEffect effect from a properties string map.
| Parameters | |
|---|---|
| map | encoded properties string map |
| Returns | new QgsInnerGlowEffect |
QgsInnerGlowEffect* QgsInnerGlowEffect:: clone() const override
Duplicates an effect by creating a deep copy of the effect.
| Returns | clone of paint effect |
|---|
QString QgsInnerGlowEffect:: type() const override
Returns the effect type.
| Returns | unique string representation of the effect type |
|---|
bool QgsInnerGlowEffect:: 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 |
|---|