Class: QgsPointPatternFillSymbolLayer

class qgis.core.QgsPointPatternFillSymbolLayer

Bases: qgis._core.QgsImageFillSymbolLayer

Enums

Methods

applyDataDefinedSettings

clone

color

copyDataDefinedProperties

copyPaintEffect

create

createFromSld

displacementX

displacementXMapUnitScale

displacementXUnit

Returns the units for the horizontal displacement between rows in the pattern.

displacementY

displacementYMapUnitScale

displacementYUnit

Returns the units for the vertical displacement between rows in the pattern.

distanceX

distanceXMapUnitScale

distanceXUnit

Returns the units for the horizontal distance between points in the pattern.

distanceY

distanceYMapUnitScale

distanceYUnit

Returns the units for the vertical distance between points in the pattern.

estimateMaxBleed

hasDataDefinedProperties

layerType

mapUnitScale

outputUnit

properties

restoreOldDataDefinedProperties

setColor

setDisplacementX

setDisplacementXMapUnitScale

setDisplacementXUnit

Sets the units for the horizontal displacement between rows in the pattern.

setDisplacementY

setDisplacementYMapUnitScale

setDisplacementYUnit

Sets the units for the vertical displacement between rows in the pattern.

setDistanceX

setDistanceXMapUnitScale

setDistanceXUnit

Sets the units for the horizontal distance between points in the pattern.

setDistanceY

setDistanceYMapUnitScale

setDistanceYUnit

Sets the units for the vertical distance between points in the pattern.

setMapUnitScale

setOutputUnit

setSubSymbol

startRender

stopRender

subSymbol

toSld

usedAttributes

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.

displacementY(self) → float
displacementYMapUnitScale(self) → QgsMapUnitScale
displacementYUnit(self) → QgsUnitTypes.RenderUnit

Returns the units for the vertical displacement between rows in the pattern.

distanceX(self) → float
distanceXMapUnitScale(self) → QgsMapUnitScale
distanceXUnit(self) → QgsUnitTypes.RenderUnit

Returns the units for the horizontal distance between points in the pattern.

See also

distanceYUnit()

distanceY(self) → float
distanceYMapUnitScale(self) → QgsMapUnitScale
distanceYUnit(self) → QgsUnitTypes.RenderUnit

Returns the units for the vertical distance between points in the pattern.

See also

distanceXUnit()

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

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

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

distanceXUnit()

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

distanceYUnit()

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]