|
| QgsOuterGlowEffect () |
|
QgsOuterGlowEffect * | clone () const override |
| Duplicates an effect by creating a deep copy of the effect. More...
|
|
QString | type () const override |
| Returns the effect type. More...
|
|
| QgsGlowEffect () |
|
| QgsGlowEffect (const QgsGlowEffect &other) |
|
| ~QgsGlowEffect () override |
|
QPainter::CompositionMode | blendMode () const |
| Returns the blend mode for the effect. More...
|
|
double | blurLevel () const |
| Returns the blur level (radius) for the glow. More...
|
|
const QgsMapUnitScale & | blurMapUnitScale () const |
| Returns the map unit scale used for the glow blur strength (radius). More...
|
|
QgsUnitTypes::RenderUnit | blurUnit () const |
| Returns the units used for the glow blur level (radius). More...
|
|
QColor | color () const |
| Returns the color for the glow. More...
|
|
GlowColorType | colorType () const |
| Returns the color mode used for the glow. More...
|
|
double | opacity () const |
| Returns the opacity for the effect. More...
|
|
QgsGlowEffect & | operator= (const QgsGlowEffect &rhs) |
|
QVariantMap | properties () const override |
| Returns the properties describing the paint effect encoded in a string format. More...
|
|
QgsColorRamp * | ramp () const |
| Returns the color ramp used for the glow. More...
|
|
void | readProperties (const QVariantMap &props) override |
| Reads a string map of an effect's properties and restores the effect to the state described by the properties map. More...
|
|
void | setBlendMode (const QPainter::CompositionMode mode) |
| Sets the blend mode for the effect. More...
|
|
void | setBlurLevel (const double level) |
| Sets blur level (radius) for the glow. More...
|
|
void | setBlurMapUnitScale (const QgsMapUnitScale &scale) |
| Sets the map unit scale used for the glow blur strength (radius). More...
|
|
void | setBlurUnit (const QgsUnitTypes::RenderUnit unit) |
| Sets the units used for the glow blur level (radius). More...
|
|
void | setColor (const QColor &color) |
| Sets the color for the glow. More...
|
|
void | setColorType (GlowColorType colorType) |
| Sets the color mode to use for the glow. More...
|
|
void | setOpacity (const double opacity) |
| Sets the opacity for the effect. More...
|
|
void | setRamp (QgsColorRamp *ramp) |
| Sets the color ramp for the glow. More...
|
|
void | setSpread (const double spread) |
| Sets the spread distance for drawing the glow effect. More...
|
|
void | setSpreadMapUnitScale (const QgsMapUnitScale &scale) |
| Sets the map unit scale used for the spread distance. More...
|
|
void | setSpreadUnit (const QgsUnitTypes::RenderUnit unit) |
| Sets the units used for the glow spread distance. More...
|
|
double | spread () const |
| Returns the spread distance used for drawing the glow effect. More...
|
|
const QgsMapUnitScale & | spreadMapUnitScale () const |
| Returns the map unit scale used for the spread distance. More...
|
|
QgsUnitTypes::RenderUnit | spreadUnit () const |
| Returns the units used for the glow spread distance. More...
|
|
| QgsPaintEffect ()=default |
| Constructor for QgsPaintEffect. More...
|
|
| QgsPaintEffect (const QgsPaintEffect &other) |
|
virtual | ~QgsPaintEffect () |
|
virtual void | begin (QgsRenderContext &context) |
| Begins intercepting paint operations to a render context. More...
|
|
virtual QgsPaintEffect * | clone () const =0 |
| Duplicates an effect by creating a deep copy of the effect. More...
|
|
DrawMode | drawMode () const |
| Returns the draw mode for the effect. More...
|
|
bool | enabled () const |
| Returns whether the effect is enabled. More...
|
|
virtual void | end (QgsRenderContext &context) |
| Ends interception of paint operations to a render context, and draws the result to the render context after being modified by the effect. More...
|
|
virtual QVariantMap | properties () const =0 |
| Returns the properties describing the paint effect encoded in a string format. More...
|
|
virtual bool | readProperties (const QDomElement &element) |
| Restores the effect to the state described by a DOM element. More...
|
|
virtual void | readProperties (const QVariantMap &props)=0 |
| Reads a string map of an effect's properties and restores the effect to the state described by the properties map. More...
|
|
virtual void | render (QPicture &picture, QgsRenderContext &context) |
| Renders a picture using the effect. More...
|
|
virtual bool | saveProperties (QDomDocument &doc, QDomElement &element) const |
| Saves the current state of the effect to a DOM element. More...
|
|
void | setDrawMode (DrawMode drawMode) |
| Sets the draw mode for the effect. More...
|
|
void | setEnabled (bool enabled) |
| Sets whether the effect is enabled. More...
|
|
virtual QString | type () const =0 |
| Returns the effect type. More...
|
|