Subgroup: Image

Class: QgsImageFillSymbolLayer

class qgis.core.QgsImageFillSymbolLayer

Bases: qgis._core.QgsFillSymbolLayer

Base class for polygon renderers generating texture images*

Methods

angle
applyDataDefinedSettings Custom stroke
clone Shall be reimplemented by subclasses to create a deep copy of the instance.
color The fill color.
copyDataDefinedProperties
copyPaintEffect
dataDefinedProperties Returns a reference to the symbol layer’s property collection, used for data defined overrides.
drawPreviewIcon
dxfAngle get angle
dxfBrushColor get brush/fill color
dxfBrushStyle get brush/fill style
dxfColor
dxfCustomDashPattern get dash pattern
dxfOffset get offset
dxfPenStyle
dxfWidth
enabled Returns true if symbol layer is enabled and will be drawn.
estimateMaxBleed
fillColor Get fill color.
isCompatibleWithSymbol Returns if the layer can be used below the specified symbol
isLocked
layerType Returns a string that represents this layer type.
mapUnitScale
ogrFeatureStyle
outputUnit
paintEffect Returns the current paint effect for the layer.
prepareExpressions Prepares all data defined property expressions for evaluation.
properties Should be reimplemented by subclasses to return a string map that contains the configuration information for the symbol layer.
propertyDefinitions Returns the symbol layer property definitions.
renderPolygon
renderingPass
restoreOldDataDefinedProperties
setAngle
setColor The fill color.
setDataDefinedProperties Sets the symbol layer’s property collection, used for data defined overrides.
setDataDefinedProperty Sets a data defined property for the layer.
setEnabled Sets whether symbol layer is enabled and should be drawn.
setFillColor Set fill color.
setLocked
setMapUnitScale
setOutputUnit
setPaintEffect Sets the current paint effect for the layer.
setRenderingPass
setStrokeColor Set stroke color.
setStrokeWidthMapUnitScale
setStrokeWidthUnit Sets the units for the symbol’s stroke width.
setSubSymbol
startRender
stopRender
strokeColor Get stroke color.
strokeWidthMapUnitScale
strokeWidthUnit Returns the units for the symbol’s stroke width.
subSymbol
toSld
type
usedAttributes
writeDxf write as DXF

Attributes

PropertyAngle
PropertyArrowHeadLength
PropertyArrowHeadThickness
PropertyArrowHeadType
PropertyArrowStartWidth
PropertyArrowType
PropertyArrowWidth
PropertyBlurRadius
PropertyCapStyle
PropertyCharacter
PropertyCoordinateMode
PropertyCustomDash
PropertyDisplacementX
PropertyDisplacementY
PropertyDistanceX
PropertyDistanceY
PropertyFile
PropertyFillColor
PropertyFillStyle
PropertyGradientReference1IsCentroid
PropertyGradientReference1X
PropertyGradientReference1Y
PropertyGradientReference2IsCentroid
PropertyGradientReference2X
PropertyGradientReference2Y
PropertyGradientSpread
PropertyGradientType
PropertyHeight
PropertyHorizontalAnchor
PropertyInterval
PropertyJoinStyle
PropertyLayerEnabled
PropertyLineAngle
PropertyLineDistance
PropertyName
PropertyOffset
PropertyOffsetAlongLine
PropertyOpacity
PropertyPlacement
PropertyPreserveAspectRatio
PropertySecondaryColor
PropertyShapeburstIgnoreRings
PropertyShapeburstMaxDistance
PropertyShapeburstUseWholeShape
PropertySize
PropertyStrokeColor
PropertyStrokeStyle
PropertyStrokeWidth
PropertyVerticalAnchor
PropertyWidth
applyDataDefinedSettings(self, context: QgsSymbolRenderContext)

Custom stroke

copyDataDefinedProperties()
copyPaintEffect()
dxfColor(self, context: QgsSymbolRenderContext) → QColor
dxfPenStyle(self) → Qt.PenStyle
dxfWidth(self, e: QgsDxfExport, context: QgsSymbolRenderContext) → float
estimateMaxBleed(self, context: QgsRenderContext) → float
mapUnitScale(self) → QgsMapUnitScale
outputUnit(self) → QgsUnitTypes.RenderUnit
renderPolygon(self, points: QPolygonF, rings: Iterable[QPolygonF], context: QgsSymbolRenderContext)
restoreOldDataDefinedProperties()
setMapUnitScale(self, scale: QgsMapUnitScale)
setOutputUnit(self, unit: QgsUnitTypes.RenderUnit)
setStrokeWidthMapUnitScale(self, scale: QgsMapUnitScale)
setStrokeWidthUnit(self, unit: QgsUnitTypes.RenderUnit)

Sets the units for the symbol’s stroke width.

Parameters:unit – symbol units
setSubSymbol(self, symbol: QgsSymbol) → bool
strokeWidthMapUnitScale(self) → QgsMapUnitScale
strokeWidthUnit(self) → QgsUnitTypes.RenderUnit

Returns the units for the symbol’s stroke width.

subSymbol(self) → QgsSymbol
usedAttributes(self, context: QgsRenderContext) → Set[str]