|
| QgsColorEffect () |
|
QPainter::CompositionMode | blendMode () const |
| Returns the blend mode for the effect. More...
|
|
int | brightness () const |
| Returns the brightness modification for the effect. More...
|
|
QgsColorEffect * | clone () const override |
| Duplicates an effect by creating a deep copy of the effect. More...
|
|
QColor | colorizeColor () const |
| Returns the color used for colorizing a picture. More...
|
|
bool | colorizeOn () const |
| Returns whether the effect will colorize a picture. More...
|
|
int | colorizeStrength () const |
| Returns the strength used for colorizing a picture. More...
|
|
int | contrast () const |
| Returns the contrast modification for the effect. More...
|
|
QgsImageOperation::GrayscaleMode | grayscaleMode () const |
| Returns whether the effect will convert a picture to grayscale. More...
|
|
double | opacity () const |
| Returns the opacity for the effect. More...
|
|
QVariantMap | properties () const override |
| Returns the properties describing the paint effect encoded in a string format. 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...
|
|
double | saturation () const |
| Returns the saturation modification for the effect. More...
|
|
void | setBlendMode (const QPainter::CompositionMode mode) |
| Sets the blend mode for the effect. More...
|
|
void | setBrightness (int brightness) |
| Sets the brightness modification for the effect. More...
|
|
void | setColorizeColor (const QColor &colorizeColor) |
| Sets the color used for colorizing a picture. More...
|
|
void | setColorizeOn (bool colorizeOn) |
| Sets whether the effect should colorize a picture. More...
|
|
void | setColorizeStrength (int colorizeStrength) |
| Sets the strength for colorizing a picture. More...
|
|
void | setContrast (int contrast) |
| Sets the contrast modification for the effect. More...
|
|
void | setGrayscaleMode (QgsImageOperation::GrayscaleMode grayscaleMode) |
| Sets whether the effect should convert a picture to grayscale. More...
|
|
void | setOpacity (const double opacity) |
| Sets the opacity for the effect. More...
|
|
void | setSaturation (double saturation) |
| Sets the saturation modification for the effect. More...
|
|
QString | type () const override |
| Returns the effect type. 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...
|
|