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

offsetX

Returns the horizontal offset values for points in the pattern.

offsetXMapUnitScale

Returns the unit scale for the horizontal offset for rows in the pattern.

offsetXUnit

Returns the units for the horizontal offset for rows in the pattern.

offsetY

Returns the vertical offset values for points in the pattern.

offsetYMapUnitScale

Returns the unit scale for the vertical offset between rows in the pattern.

offsetYUnit

Returns the units for the vertical offset for rows in the pattern.

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

setOffsetX

Sets the horizontal offset values for points in the pattern.

setOffsetXMapUnitScale

Sets the unit scale for the horizontal offset for rows in the pattern.

setOffsetXUnit

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

setOffsetY

Sets the vertical offset values for points in the pattern.

setOffsetYMapUnitScale

Sets the unit scale for the vertical offset for rows in the pattern.

setOffsetYUnit

Sets the units for the vertical offset for rows in the pattern.

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
offsetX(self) → float

Returns the horizontal offset values for points in the pattern.

See also

setOffsetX()

See also

offsetY()

New in version 3.8.

offsetXMapUnitScale(self) → QgsMapUnitScale

Returns the unit scale for the horizontal offset for rows in the pattern.

New in version 3.8.

offsetXUnit(self) → QgsUnitTypes.RenderUnit

Returns the units for the horizontal offset for rows in the pattern.

See also

setOffsetXUnit()

See also

offsetYUnit()

New in version 3.8.

offsetY(self) → float

Returns the vertical offset values for points in the pattern.

See also

setOffsetY()

See also

offsetX()

New in version 3.8.

offsetYMapUnitScale(self) → QgsMapUnitScale

Returns the unit scale for the vertical offset between rows in the pattern.

New in version 3.8.

offsetYUnit(self) → QgsUnitTypes.RenderUnit

Returns the units for the vertical offset for rows in the pattern.

See also

setOffsetYUnit()

See also

offsetXUnit()

New in version 3.8.

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)
setOffsetX(self, offset: float)

Sets the horizontal offset values for points in the pattern.

Parameters

offset – offset value

See also

offsetX()

See also

setOffsetY()

New in version 3.8.

setOffsetXMapUnitScale(self, scale: QgsMapUnitScale)

Sets the unit scale for the horizontal offset for rows in the pattern.

Parameters

scale – offset unit scale

New in version 3.8.

setOffsetXUnit(self, unit: QgsUnitTypes.RenderUnit)

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

Parameters

unit – offset units

See also

offsetXUnit()

See also

setOffsetYUnit()

New in version 3.8.

setOffsetY(self, offset: float)

Sets the vertical offset values for points in the pattern.

Parameters

offset – offset value

See also

offsetY()

See also

setOffsetX()

New in version 3.8.

setOffsetYMapUnitScale(self, scale: QgsMapUnitScale)

Sets the unit scale for the vertical offset for rows in the pattern.

Parameters

scale – offset unit scale

New in version 3.8.

setOffsetYUnit(self, unit: QgsUnitTypes.RenderUnit)

Sets the units for the vertical offset for rows in the pattern.

Parameters

unit – offset units

See also

offsetYUnit()

See also

setOffsetXUnit()

New in version 3.8.

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]