Class: QgsImageFillSymbolLayer¶
Base class for fill symbol layers which fill polygons with a repeated image.
Note
This is an abstract class, with methods which must be implemented by a subclass.
The following methods must be implemented: QgsSymbolLayer.clone()
, QgsSymbolLayer.layerType()
, QgsSymbolLayer.startRender()
, QgsSymbolLayer.stopRender()
Class Hierarchy¶
Base classes¶
Abstract base class for fill symbol layers. |
|
Abstract base class for symbol layers. |
Subclasses¶
A symbol fill consisting of repeated parallel lines. |
|
A fill symbol layer which fills polygon shapes with repeating marker symbols. |
|
A fill symbol layer which fills polygons with a repeated raster image. |
|
A fill symbol layer which fills polygons with a repeated SVG file. |
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. |
|
Sets the coordinate reference mode for fill which controls how the top left corner of the image fill is positioned relative to the feature. |
|
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. |
- class qgis.core.QgsImageFillSymbolLayer[source]¶
Bases:
QgsFillSymbolLayer
- coordinateReference(self) Qgis.SymbolCoordinateReference [source]¶
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
Added in version 3.24.
- setCoordinateReference(self, coordinateReference: Qgis.SymbolCoordinateReference)[source]¶
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
Added in version 3.24.
- setStrokeWidthMapUnitScale(self, scale: QgsMapUnitScale)[source]¶
Sets the stroke width map unit
scale
.See also
See also
- Parameters:
scale (QgsMapUnitScale)
- setStrokeWidthUnit(self, unit: Qgis.RenderUnit)[source]¶
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 [source]¶
Returns the units for the symbol’s stroke width.
See also
See also
- Return type: