|
| QgsTextShadowSettings () |
|
| QgsTextShadowSettings (const QgsTextShadowSettings &other) |
| Copy constructor. More...
|
|
| ~QgsTextShadowSettings () |
|
QPainter::CompositionMode | blendMode () const |
| Returns the blending mode used for drawing the drop shadow. More...
|
|
bool | blurAlphaOnly () const |
| Returns whether only the alpha channel for the shadow will be blurred. More...
|
|
double | blurRadius () const |
| Returns the blur radius for the shadow. More...
|
|
QgsMapUnitScale | blurRadiusMapUnitScale () const |
| Returns the map unit scale object for the shadow blur radius. More...
|
|
QgsUnitTypes::RenderUnit | blurRadiusUnit () const |
| Returns the units used for the shadow's blur radius. More...
|
|
QColor | color () const |
| Returns the color of the drop shadow. More...
|
|
bool | enabled () const |
| Returns whether the shadow is enabled. More...
|
|
int | offsetAngle () const |
| Returns the angle for offsetting the position of the shadow from the text. More...
|
|
double | offsetDistance () const |
| Returns the distance for offsetting the position of the shadow from the text. More...
|
|
bool | offsetGlobal () const |
| Returns true if the global shadow offset will be used. More...
|
|
QgsMapUnitScale | offsetMapUnitScale () const |
| Returns the map unit scale object for the shadow offset distance. More...
|
|
QgsUnitTypes::RenderUnit | offsetUnit () const |
| Returns the units used for the shadow's offset. More...
|
|
double | opacity () const |
| Returns the shadow's opacity. More...
|
|
bool | operator!= (const QgsTextShadowSettings &other) const |
|
QgsTextShadowSettings & | operator= (const QgsTextShadowSettings &other) |
|
bool | operator== (const QgsTextShadowSettings &other) const |
|
void | readFromLayer (QgsVectorLayer *layer) |
| Reads settings from a layer's custom properties (for QGIS 2.x projects). More...
|
|
void | readXml (const QDomElement &elem) |
| Read settings from a DOM element. More...
|
|
QSet< QString > | referencedFields (const QgsRenderContext &context) const |
| Returns all field names referenced by the configuration (e.g. More...
|
|
int | scale () const |
| Returns the scaling used for the drop shadow (in percentage of original size). More...
|
|
void | setBlendMode (QPainter::CompositionMode mode) |
| Sets the blending mode used for drawing the drop shadow. More...
|
|
void | setBlurAlphaOnly (bool alphaOnly) |
| Sets whether only the alpha channel for the shadow should be blurred. More...
|
|
void | setBlurRadius (double blurRadius) |
| Sets the blur radius for the shadow. More...
|
|
void | setBlurRadiusMapUnitScale (const QgsMapUnitScale &scale) |
| Sets the map unit scale object for the shadow blur radius. More...
|
|
void | setBlurRadiusUnit (QgsUnitTypes::RenderUnit units) |
| Sets the units used for the shadow's blur radius. More...
|
|
void | setColor (const QColor &color) |
| Sets the color for the drop shadow. More...
|
|
void | setEnabled (bool enabled) |
| Sets whether the text shadow will be drawn. More...
|
|
void | setOffsetAngle (int angle) |
| Sets the angle for offsetting the position of the shadow from the text. More...
|
|
void | setOffsetDistance (double distance) |
| Sets the distance for offsetting the position of the shadow from the text. More...
|
|
void | setOffsetGlobal (bool global) |
| Sets whether the global shadow offset should be used. More...
|
|
void | setOffsetMapUnitScale (const QgsMapUnitScale &scale) |
| Sets the map unit scale object for the shadow offset distance. More...
|
|
void | setOffsetUnit (QgsUnitTypes::RenderUnit units) |
| Sets the units used for the shadow's offset. More...
|
|
void | setOpacity (double opacity) |
| Sets the shadow's opacity. More...
|
|
void | setScale (int scale) |
| Sets the scaling used for the drop shadow (in percentage of original size). More...
|
|
void | setShadowPlacement (QgsTextShadowSettings::ShadowPlacement placement) |
| Sets the placement for the drop shadow. More...
|
|
QgsTextShadowSettings::ShadowPlacement | shadowPlacement () const |
| Returns the placement for the drop shadow. More...
|
|
void | updateDataDefinedProperties (QgsRenderContext &context, const QgsPropertyCollection &properties) |
| Updates the format by evaluating current values of data defined properties. More...
|
|
QDomElement | writeXml (QDomDocument &doc) const |
| Write settings into a DOM element. More...
|
|