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
setStrokeWidthUnit
Sets the units for the symbol’s stroke width. setSubSymbol
strokeWidthMapUnitScale
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)¶
-
setStrokeWidthUnit
(self, unit: QgsUnitTypes.RenderUnit)¶ Sets the units for the symbol’s stroke width.
Parameters: unit – symbol units See also
-
setSubSymbol
(self, symbol: QgsSymbol) → bool¶
-
strokeWidthMapUnitScale
(self) → QgsMapUnitScale¶
-
strokeWidthUnit
(self) → QgsUnitTypes.RenderUnit¶ Returns the units for the symbol’s stroke width.
See also
-
subSymbol
(self) → QgsSymbol¶
-
usedAttributes
(self, context: QgsRenderContext) → Set[str]¶
-