Subgroup: Image

Class: QgsImageFillSymbolLayer

class qgis.core.QgsImageFillSymbolLayer

Bases: qgis._core.QgsFillSymbolLayer

Base class for polygon renderers generating texture images*

Methods

applyDataDefinedSettings Custom stroke
copyDataDefinedProperties
copyPaintEffect
dxfColor
dxfPenStyle
dxfWidth
estimateMaxBleed
mapUnitScale
outputUnit
renderPolygon
restoreOldDataDefinedProperties
setMapUnitScale
setOutputUnit
setStrokeWidthMapUnitScale Sets the stroke width map unit scale.
setStrokeWidthUnit Sets the units fo the symbol’s stroke width.
setSubSymbol
strokeWidthMapUnitScale Returns the stroke width map unit scale.
strokeWidthUnit Returns the units for the symbol’s stroke width.
subSymbol
usedAttributes

Signals

Attributes

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)

Sets the stroke width map unit scale.

setStrokeWidthUnit(self, unit: QgsUnitTypes.RenderUnit)

Sets the units fo the symbol’s stroke width.

setSubSymbol(self, symbol: QgsSymbol) → bool
strokeWidthMapUnitScale(self) → QgsMapUnitScale

Returns the stroke width map unit scale.

New in version 2.16.

strokeWidthUnit(self) → QgsUnitTypes.RenderUnit

Returns the units for the symbol’s stroke width.

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