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