Subgroup: other
Class: QgsOuterGlowEffect¶
-
class
qgis.core.
QgsOuterGlowEffect
¶ Bases:
qgis._core.QgsGlowEffect
A paint effect which draws a glow outside of a picture.
New in version 2.9: Methods
begin
Begins intercepting paint operations to a render context. blendMode
Returns the blend mode for the effect blurLevel
Returns the blur level (strength) for the glow. boundingRect
clone
color
Returns the color for the glow. colorType
Returns the color mode used for the glow. create
Creates a new QgsOuterGlowEffect effect from a properties string map. draw
drawMode
Returns the draw mode for the effect. drawSource
enabled
Returns whether the effect is enabled end
Ends interception of paint operations to a render context, and draws the result to the render context after being modified by the effect. fixQPictureDpi
imageOffset
opacity
Returns the opacity for the effect. properties
ramp
Returns the color ramp used for the glow. readProperties
render
Renders a picture using the effect. saveProperties
Saves the current state of the effect to a DOM element. setBlendMode
Sets the blend mode for the effect setBlurLevel
Sets blur level (strength) for the glow. setColor
Sets the color for the glow. setColorType
Sets the color mode to use for the glow. setDrawMode
Sets the draw mode for the effect. setEnabled
Sets whether the effect is enabled setOpacity
Sets the opacity
for the effect.setRamp
Sets the color ramp for the glow. setSpread
Sets the spread distance for drawing the glow effect. setSpreadMapUnitScale
Sets the map unit scale used for the spread distance. setSpreadUnit
Sets the units used for the glow spread distance. shadeExterior
source
sourceAsImage
spread
Returns the spread distance used for drawing the glow effect. spreadMapUnitScale
Returns the map unit scale used for the spread distance. spreadUnit
Returns the units used for the glow spread distance. type
Attributes
ColorRamp
Modifier
ModifyAndRender
Render
SingleColor
-
boundingRect
()¶
-
clone
(self) → QgsOuterGlowEffect¶
-
create
(map: Dict[str, str]) → QgsPaintEffect¶ Creates a new QgsOuterGlowEffect effect from a properties string map.
Parameters: map – encoded properties string map Returns: new QgsOuterGlowEffect
-
draw
()¶
-
drawSource
()¶
-
fixQPictureDpi
()¶
-
imageOffset
()¶
-
shadeExterior
(self) → bool¶
-
source
()¶
-
sourceAsImage
()¶
-
type
(self) → str¶
-