Class: QgsPointPatternFillSymbolLayer¶
-
class
qgis.core.
QgsPointPatternFillSymbolLayer
¶ Bases:
qgis._core.QgsImageFillSymbolLayer
Enums
Methods
Returns the units for the horizontal displacement between rows in the pattern.
Returns the units for the vertical displacement between rows in the pattern.
Returns the units for the horizontal distance between points in the pattern.
Returns the units for the vertical distance between points in the pattern.
Sets the units for the horizontal displacement between rows in the pattern.
Sets the units for the vertical displacement between rows in the pattern.
Sets the units for the horizontal distance between points in the pattern.
Sets the units for the vertical distance between points in the pattern.
Signals
Attributes
-
applyDataDefinedSettings
(self, context: QgsSymbolRenderContext)¶
-
clone
(self) → QgsPointPatternFillSymbolLayer¶
-
color
(self) → QColor¶
-
copyDataDefinedProperties
()¶
-
copyPaintEffect
()¶
-
create
(properties: Dict[str, str] = {}) → QgsSymbolLayer¶
-
createFromSld
(element: QDomElement) → QgsSymbolLayer¶
-
displacementX
(self) → float¶
-
displacementXMapUnitScale
(self) → QgsMapUnitScale¶
-
displacementXUnit
(self) → QgsUnitTypes.RenderUnit¶ Returns the units for the horizontal displacement between rows in the pattern.
See also
See also
-
displacementY
(self) → float¶
-
displacementYMapUnitScale
(self) → QgsMapUnitScale¶
-
displacementYUnit
(self) → QgsUnitTypes.RenderUnit¶ Returns the units for the vertical displacement between rows in the pattern.
See also
See also
-
distanceX
(self) → float¶
-
distanceXMapUnitScale
(self) → QgsMapUnitScale¶
-
distanceXUnit
(self) → QgsUnitTypes.RenderUnit¶ Returns the units for the horizontal distance between points in the pattern.
See also
See also
-
distanceY
(self) → float¶
-
distanceYMapUnitScale
(self) → QgsMapUnitScale¶
-
distanceYUnit
(self) → QgsUnitTypes.RenderUnit¶ Returns the units for the vertical distance between points in the pattern.
See also
See also
-
estimateMaxBleed
(self, context: QgsRenderContext) → float¶
-
hasDataDefinedProperties
(self) → bool¶
-
layerType
(self) → str¶
-
mapUnitScale
(self) → QgsMapUnitScale¶
-
outputUnit
(self) → QgsUnitTypes.RenderUnit¶
-
properties
(self) → Dict[str, str]¶
-
restoreOldDataDefinedProperties
()¶
-
setColor
(self, c: Union[QColor, Qt.GlobalColor])¶
-
setDisplacementX
(self, d: float)¶
-
setDisplacementXMapUnitScale
(self, scale: QgsMapUnitScale)¶
-
setDisplacementXUnit
(self, unit: QgsUnitTypes.RenderUnit)¶ Sets the units for the horizontal displacement between rows in the pattern.
- Parameters
unit – displacement units
See also
See also
-
setDisplacementY
(self, d: float)¶
-
setDisplacementYMapUnitScale
(self, scale: QgsMapUnitScale)¶
-
setDisplacementYUnit
(self, unit: QgsUnitTypes.RenderUnit)¶ Sets the units for the vertical displacement between rows in the pattern.
- Parameters
unit – displacement units
See also
See also
-
setDistanceX
(self, d: float)¶
-
setDistanceXMapUnitScale
(self, scale: QgsMapUnitScale)¶
-
setDistanceXUnit
(self, unit: QgsUnitTypes.RenderUnit)¶ Sets the units for the horizontal distance between points in the pattern.
- Parameters
unit – distance units
See also
See also
-
setDistanceY
(self, d: float)¶
-
setDistanceYMapUnitScale
(self, scale: QgsMapUnitScale)¶
-
setDistanceYUnit
(self, unit: QgsUnitTypes.RenderUnit)¶ Sets the units for the vertical distance between points in the pattern.
- Parameters
unit – distance units
See also
See also
-
setMapUnitScale
(self, scale: QgsMapUnitScale)¶
-
setOutputUnit
(self, unit: QgsUnitTypes.RenderUnit)¶
-
setSubSymbol
(self, symbol: QgsSymbol) → bool¶
-
startRender
(self, context: QgsSymbolRenderContext)¶
-
stopRender
(self, context: QgsSymbolRenderContext)¶
-
subSymbol
(self) → QgsSymbol¶
-
toSld
(self, doc: QDomDocument, element: QDomElement, props: Dict[str, str])¶
-
usedAttributes
(self, context: QgsRenderContext) → Set[str]¶
-