Class: QgsPointPatternFillSymbolLayer¶
A fill symbol layer which fills polygon shapes with repeating marker symbols.
Class Hierarchy¶
Base classes¶
Base class for polygon renderers generating texture images  | 
|
Abstract base class for fill symbol layers.  | 
|
Constructor for QgsSymbolLayer.  | 
Methods
Returns the marker clipping mode, which defines how markers are clipped at the edges of shapes.  | 
|
Returns the horizontal displacement for odd numbered rows in the pattern.  | 
|
Returns the map unit scale for the horizontal displacement between odd numbered rows in the pattern.  | 
|
Returns the units for the horizontal displacement between rows in the pattern.  | 
|
Returns the vertical displacement for odd numbered columns in the pattern.  | 
|
Returns the map unit scale for the vertical displacement between odd numbered columns in the pattern.  | 
|
Returns the units for the vertical displacement between rows in the pattern.  | 
|
Returns the horizontal distance between rendered markers in the fill.  | 
|
Returns the map unit scale for the horizontal distance between points in the pattern.  | 
|
Returns the units for the horizontal distance between points in the pattern.  | 
|
Returns the vertical distance between rendered markers in the fill.  | 
|
Returns the map unit scale for the vertical distance between points in the pattern.  | 
|
Returns the units for the vertical distance between points in the pattern.  | 
|
Returns the maximum horizontal random deviation of points in the pattern.  | 
|
Returns the maximum vertical random deviation of points in the pattern.  | 
|
Returns the horizontal offset values for points in the pattern.  | 
|
Returns the unit scale for the horizontal offset for rows in the pattern.  | 
|
Returns the units for the horizontal offset for rows in the pattern.  | 
|
Returns the vertical offset values for points in the pattern.  | 
|
Returns the unit scale for the vertical offset between rows in the pattern.  | 
|
Returns the units for the vertical offset for rows in the pattern.  | 
|
Returns the unit scale for the horizontal random deviation of points in the pattern.  | 
|
Returns the units for the horizontal random deviation of points in the pattern.  | 
|
Returns the unit scale for the vertical random deviation of points in the pattern.  | 
|
Returns the units for the vertical random deviation of points in the pattern.  | 
|
Returns the random number seed to use when randomly shifting points, or 0 if a truly random sequence will be used (causing points to appear in different locations with every map refresh).  | 
|
Sets the marker clipping mode, which defines how markers are clipped at the edges of shapes.  | 
|
Sets the horizontal displacement for odd numbered rows in the pattern.  | 
|
Sets the map unit scale for the horizontal displacement between odd numbered rows in the pattern.  | 
|
Sets the units for the horizontal displacement between rows in the pattern.  | 
|
Sets the vertical displacement for odd numbered columns in the pattern.  | 
|
Sets the map unit scale for the vertical displacement between odd numbered columns in the pattern.  | 
|
Sets the units for the vertical displacement between rows in the pattern.  | 
|
Sets the horizontal distance between rendered markers in the fill.  | 
|
Sets the map unit scale for the horizontal distance between points in the pattern.  | 
|
Sets the unit for the horizontal distance between points in the pattern.  | 
|
Sets the vertical distance between rendered markers in the fill.  | 
|
Sets the map unit scale for the vertical distance between points in the pattern.  | 
|
Sets the unit for the vertical distance between points in the pattern.  | 
|
Sets the maximum horizontal random deviation of points in the pattern.  | 
|
Sets the maximum vertical random deviation of points in the pattern.  | 
|
Sets the horizontal offset values for points in the pattern.  | 
|
Sets the unit scale for the horizontal offset for rows in the pattern.  | 
|
Sets the units for the horizontal offset between rows in the pattern.  | 
|
Sets the vertical offset values for points in the pattern.  | 
|
Sets the unit scale for the vertical offset for rows in the pattern.  | 
|
Sets the units for the vertical offset for rows in the pattern.  | 
|
Sets the unit scale for the horizontal random deviation of points in the pattern.  | 
|
Sets the unit for the horizontal random deviation of points in the pattern.  | 
|
Sets the unit scale for the vertical random deviation of points in the pattern.  | 
|
Sets the unit for the vertical random deviation of points in the pattern.  | 
|
Sets the random number seed to use when randomly shifting points, or 0 if a truly random sequence will be used on every rendering (causing points to appear in different locations with every map refresh).  | 
Static Methods
Creates a new   | 
|
- class qgis.core.QgsPointPatternFillSymbolLayer[source]¶
 Bases:
QgsImageFillSymbolLayer- applyBrushTransformFromContext()¶
 
- applyDataDefinedSettings(self, context: QgsSymbolRenderContext)[source]¶
 - Parameters:
 context (QgsSymbolRenderContext)
- clipMode(self) Qgis.MarkerClipMode[source]¶
 Returns the marker clipping mode, which defines how markers are clipped at the edges of shapes.
See also
Added in version 3.24.
- Return type:
 
- static create(properties: Dict[str, Any] = {}) QgsSymbolLayer | None[source]¶
 Creates a new
QgsPointPatternFillSymbolLayerusing the specifiedpropertiesmap containing symbol properties (seeproperties()).Caller takes ownership of the returned symbol layer.
- Parameters:
 properties (Dict[str, Any] = {})
- Return type:
 Optional[QgsSymbolLayer]
- static createFromSld(element: QDomElement) QgsSymbolLayer | None[source]¶
 - Parameters:
 element (QDomElement)
- Return type:
 Optional[QgsSymbolLayer]
- displacementX(self) float[source]¶
 Returns the horizontal displacement for odd numbered rows in the pattern.
Units are retrieved via
displacementXUnit().See also
See also
See also
- Return type:
 float
- displacementXMapUnitScale(self) QgsMapUnitScale¶
 Returns the map unit scale for the horizontal displacement between odd numbered rows in the pattern.
See also
See also
- Return type:
 
- displacementXUnit(self) Qgis.RenderUnit[source]¶
 Returns the units for the horizontal displacement between rows in the pattern.
See also
See also
- Return type:
 
- displacementY(self) float[source]¶
 Returns the vertical displacement for odd numbered columns in the pattern.
Units are retrieved via
displacementYUnit().See also
See also
See also
- Return type:
 float
- displacementYMapUnitScale(self) QgsMapUnitScale¶
 Returns the map unit scale for the vertical displacement between odd numbered columns in the pattern.
See also
See also
- Return type:
 
- displacementYUnit(self) Qgis.RenderUnit[source]¶
 Returns the units for the vertical displacement between rows in the pattern.
See also
See also
- Return type:
 
- distanceX(self) float[source]¶
 Returns the horizontal distance between rendered markers in the fill.
Units are retrieved via
distanceXUnit().See also
See also
See also
- Return type:
 float
- distanceXMapUnitScale(self) QgsMapUnitScale¶
 Returns the map unit scale for the horizontal distance between points in the pattern.
See also
See also
- Return type:
 
- distanceXUnit(self) Qgis.RenderUnit[source]¶
 Returns the units for the horizontal distance between points in the pattern.
See also
See also
- Return type:
 
- distanceY(self) float[source]¶
 Returns the vertical distance between rendered markers in the fill.
Units are retrieved via
distanceYUnit().See also
See also
See also
- Return type:
 float
- distanceYMapUnitScale(self) QgsMapUnitScale¶
 Returns the map unit scale for the vertical distance between points in the pattern.
See also
See also
- Return type:
 
- distanceYUnit(self) Qgis.RenderUnit[source]¶
 Returns the units for the vertical distance between points in the pattern.
See also
See also
- Return type:
 
- maximumRandomDeviationX(self) float[source]¶
 Returns the maximum horizontal random deviation of points in the pattern.
Units are retrieved via
maximumRandomDeviationXUnit().See also
See also
Added in version 3.24.
- Return type:
 float
- maximumRandomDeviationY(self) float[source]¶
 Returns the maximum vertical random deviation of points in the pattern.
Units are retrieved via
maximumRandomDeviationYUnit().See also
See also
Added in version 3.24.
- Return type:
 float
- offsetX(self) float[source]¶
 Returns the horizontal offset values for points in the pattern.
See also
See also
Added in version 3.8.
- Return type:
 float
- offsetXMapUnitScale(self) QgsMapUnitScale¶
 Returns the unit scale for the horizontal offset for rows in the pattern.
See also
See also
Added in version 3.8.
- Return type:
 
- offsetXUnit(self) Qgis.RenderUnit[source]¶
 Returns the units for the horizontal offset for rows in the pattern.
See also
See also
Added in version 3.8.
- Return type:
 
- offsetY(self) float[source]¶
 Returns the vertical offset values for points in the pattern.
See also
See also
Added in version 3.8.
- Return type:
 float
- offsetYMapUnitScale(self) QgsMapUnitScale¶
 Returns the unit scale for the vertical offset between rows in the pattern.
See also
See also
Added in version 3.8.
- Return type:
 
- offsetYUnit(self) Qgis.RenderUnit[source]¶
 Returns the units for the vertical offset for rows in the pattern.
See also
See also
Added in version 3.8.
- Return type:
 
- randomDeviationXMapUnitScale(self) QgsMapUnitScale¶
 Returns the unit scale for the horizontal random deviation of points in the pattern.
See also
See also
Added in version 3.24.
- Return type:
 
- randomDeviationXUnit(self) Qgis.RenderUnit[source]¶
 Returns the units for the horizontal random deviation of points in the pattern.
See also
See also
Added in version 3.24.
- Return type:
 
- randomDeviationYMapUnitScale(self) QgsMapUnitScale¶
 Returns the unit scale for the vertical random deviation of points in the pattern.
See also
See also
Added in version 3.24.
- Return type:
 
- randomDeviationYUnit(self) Qgis.RenderUnit[source]¶
 Returns the units for the vertical random deviation of points in the pattern.
See also
See also
Added in version 3.24.
- Return type:
 
- seed(self) int¶
 Returns the random number seed to use when randomly shifting points, or 0 if a truly random sequence will be used (causing points to appear in different locations with every map refresh).
See also
Added in version 3.24.
- Return type:
 int
- setClipMode(self, mode: Qgis.MarkerClipMode)[source]¶
 Sets the marker clipping
mode, which defines how markers are clipped at the edges of shapes.See also
Added in version 3.24.
- Parameters:
 mode (Qgis.MarkerClipMode)
- setDisplacementX(self, d: float)[source]¶
 Sets the horizontal displacement for odd numbered rows in the pattern.
Units are set via
setDisplacementXUnit().See also
See also
See also
- Parameters:
 d (float)
- setDisplacementXMapUnitScale(self, scale: QgsMapUnitScale)[source]¶
 Sets the map unit
scalefor the horizontal displacement between odd numbered rows in the pattern.See also
See also
- Parameters:
 scale (QgsMapUnitScale)
- setDisplacementXUnit(self, unit: Qgis.RenderUnit)[source]¶
 Sets the units for the horizontal displacement between rows in the pattern.
- Parameters:
 unit (Qgis.RenderUnit) – displacement units
See also
See also
- setDisplacementY(self, d: float)[source]¶
 Sets the vertical displacement for odd numbered columns in the pattern.
Units are set via
setDisplacementYUnit().See also
See also
See also
- Parameters:
 d (float)
- setDisplacementYMapUnitScale(self, scale: QgsMapUnitScale)[source]¶
 Sets the map unit
scalefor the vertical displacement between odd numbered columns in the pattern.See also
See also
- Parameters:
 scale (QgsMapUnitScale)
- setDisplacementYUnit(self, unit: Qgis.RenderUnit)[source]¶
 Sets the units for the vertical displacement between rows in the pattern.
- Parameters:
 unit (Qgis.RenderUnit) – displacement units
See also
See also
- setDistanceX(self, d: float)[source]¶
 Sets the horizontal distance between rendered markers in the fill.
Units are set via
setDistanceXUnit().See also
See also
See also
- Parameters:
 d (float)
- setDistanceXMapUnitScale(self, scale: QgsMapUnitScale)[source]¶
 Sets the map unit
scalefor the horizontal distance between points in the pattern.See also
See also
- Parameters:
 scale (QgsMapUnitScale)
- setDistanceXUnit(self, unit: Qgis.RenderUnit)[source]¶
 Sets the
unitfor the horizontal distance between points in the pattern.- Parameters:
 unit (Qgis.RenderUnit) – distance units
See also
See also
- setDistanceY(self, d: float)[source]¶
 Sets the vertical distance between rendered markers in the fill.
Units are set via
setDistanceYUnit().See also
See also
See also
- Parameters:
 d (float)
- setDistanceYMapUnitScale(self, scale: QgsMapUnitScale)[source]¶
 Sets the map unit
scalefor the vertical distance between points in the pattern.See also
See also
- Parameters:
 scale (QgsMapUnitScale)
- setDistanceYUnit(self, unit: Qgis.RenderUnit)[source]¶
 Sets the
unitfor the vertical distance between points in the pattern.- Parameters:
 unit (Qgis.RenderUnit) – distance units
See also
See also
- setMaximumRandomDeviationX(self, deviation: float)[source]¶
 Sets the maximum horizontal random
deviationof points in the pattern.Units are set via
setMaximumRandomDeviationXUnit().See also
See also
Added in version 3.24.
- Parameters:
 deviation (float)
- setMaximumRandomDeviationY(self, deviation: float)[source]¶
 Sets the maximum vertical random
deviationof points in the pattern.Units are set via
setMaximumRandomDeviationYUnit().See also
See also
Added in version 3.24.
- Parameters:
 deviation (float)
- setOffsetX(self, offset: float)[source]¶
 Sets the horizontal offset values for points in the pattern.
- Parameters:
 offset (float) – offset value
See also
See also
Added in version 3.8.
- setOffsetXMapUnitScale(self, scale: QgsMapUnitScale)[source]¶
 Sets the unit scale for the horizontal offset for rows in the pattern.
- Parameters:
 scale (QgsMapUnitScale) – offset unit scale
See also
See also
Added in version 3.8.
- setOffsetXUnit(self, unit: Qgis.RenderUnit)[source]¶
 Sets the units for the horizontal offset between rows in the pattern.
- Parameters:
 unit (Qgis.RenderUnit) – offset units
See also
See also
Added in version 3.8.
- setOffsetY(self, offset: float)[source]¶
 Sets the vertical offset values for points in the pattern.
- Parameters:
 offset (float) – offset value
See also
See also
Added in version 3.8.
- setOffsetYMapUnitScale(self, scale: QgsMapUnitScale)[source]¶
 Sets the unit scale for the vertical offset for rows in the pattern.
- Parameters:
 scale (QgsMapUnitScale) – offset unit scale
See also
See also
Added in version 3.8.
- setOffsetYUnit(self, unit: Qgis.RenderUnit)[source]¶
 Sets the units for the vertical offset for rows in the pattern.
- Parameters:
 unit (Qgis.RenderUnit) – offset units
See also
See also
Added in version 3.8.
- setRandomDeviationXMapUnitScale(self, scale: QgsMapUnitScale)[source]¶
 Sets the unit
scalefor the horizontal random deviation of points in the pattern.See also
See also
Added in version 3.24.
- Parameters:
 scale (QgsMapUnitScale)
- setRandomDeviationXUnit(self, unit: Qgis.RenderUnit)[source]¶
 Sets the
unitfor the horizontal random deviation of points in the pattern.See also
See also
Added in version 3.24.
- Parameters:
 unit (Qgis.RenderUnit)
- setRandomDeviationYMapUnitScale(self, scale: QgsMapUnitScale)[source]¶
 Sets the unit
scalefor the vertical random deviation of points in the pattern.See also
See also
Added in version 3.24.
- Parameters:
 scale (QgsMapUnitScale)
- setRandomDeviationYUnit(self, unit: Qgis.RenderUnit)[source]¶
 Sets the
unitfor the vertical random deviation of points in the pattern.See also
See also
Added in version 3.24.
- Parameters:
 unit (Qgis.RenderUnit)