Class: QgsImageFillSymbolLayer¶
- class qgis.core.QgsImageFillSymbolLayer¶
Bases:
QgsFillSymbolLayer
Base class for polygon renderers generating texture images
Methods
Returns the coordinate reference mode for fill which controls how the top left corner of the image fill is positioned relative to the feature.
- rtype:
Qt.PenStyle
- param e:
- rtype:
QgsMapUnitScale
- rtype:
Qgis.RenderUnit
- rtype:
Dict[str, Any]
- param points:
Sets the coordinate reference mode for fill which controls how the top left corner of the image fill is positioned relative to the feature.
- param scale:
- param unit:
Sets the stroke width map unit
scale
.Sets the
units
for the symbol's stroke width.Returns the stroke width map unit scale.
Returns the units for the symbol's stroke width.
- coordinateReference(self) Qgis.SymbolCoordinateReference ¶
Returns the coordinate reference mode for fill which controls how the top left corner of the image fill is positioned relative to the feature.
- Return type:
- Returns:
coordinate reference mode
See also
New in version 3.24.
- dxfPenStyle(self) Qt.PenStyle ¶
- Return type:
Qt.PenStyle
- dxfWidth(self, e: QgsDxfExport, context: QgsSymbolRenderContext) float ¶
- Parameters:
e (QgsDxfExport) –
context (QgsSymbolRenderContext) –
- Return type:
float
- mapUnitScale(self) QgsMapUnitScale ¶
- Return type:
- outputUnit(self) Qgis.RenderUnit ¶
- Return type:
- properties(self) Dict[str, Any] ¶
- Return type:
Dict[str, Any]
- renderPolygon(self, points: QPolygonF, rings: Iterable[QPolygonF], context: QgsSymbolRenderContext)¶
- Parameters:
points (QPolygonF) –
rings (Iterable[QPolygonF]) –
context (QgsSymbolRenderContext) –
- setCoordinateReference(self, coordinateReference: Qgis.SymbolCoordinateReference)¶
Sets the coordinate reference mode for fill which controls how the top left corner of the image fill is positioned relative to the feature.
- Parameters:
coordinateReference (Qgis.SymbolCoordinateReference) – coordinate reference mode
See also
New in version 3.24.
- setMapUnitScale(self, scale: QgsMapUnitScale)¶
- Parameters:
scale (QgsMapUnitScale) –
- setOutputUnit(self, unit: Qgis.RenderUnit)¶
- Parameters:
unit (Qgis.RenderUnit) –
- setStrokeWidthMapUnitScale(self, scale: QgsMapUnitScale)¶
Sets the stroke width map unit
scale
.See also
See also
- Parameters:
scale (QgsMapUnitScale) –
- setStrokeWidthUnit(self, unit: Qgis.RenderUnit)¶
Sets the
units
for the symbol’s stroke width.See also
See also
- Parameters:
unit (Qgis.RenderUnit) –
- strokeWidthMapUnitScale(self) QgsMapUnitScale ¶
Returns the stroke width map unit scale.
See also
See also
- Return type:
- strokeWidthUnit(self) Qgis.RenderUnit ¶
Returns the units for the symbol’s stroke width.
See also
See also
- Return type: