Subgroup: Line
Class: QgsLinePatternFillSymbolLayer¶
-
class
qgis.core.
QgsLinePatternFillSymbolLayer
¶ Bases:
qgis._core.QgsImageFillSymbolLayer
Methods
Signals
Attributes
-
applyDataDefinedSettings
(self, context: QgsSymbolRenderContext)¶ Offset perpendicular to line direction
-
clone
(self) → QgsLinePatternFillSymbolLayer¶
-
color
(self) → QColor¶
-
copyDataDefinedProperties
()¶
-
copyPaintEffect
()¶
-
create
(properties: Dict[str, str] = {}) → QgsSymbolLayer¶
-
createFromSld
(element: QDomElement) → QgsSymbolLayer¶
-
distance
(self) → float¶ Returns the distance between lines in the fill pattern. Units are retrieved by distanceUnit().
See also
See also
-
distanceMapUnitScale
(self) → QgsMapUnitScale¶
-
distanceUnit
(self) → QgsUnitTypes.RenderUnit¶ Returns the units for the distance between lines in the fill pattern.
See also
See also
-
estimateMaxBleed
(self, context: QgsRenderContext) → float¶
-
layerType
(self) → str¶
-
lineAngle
(self) → float¶
-
lineWidth
(self) → float¶
-
lineWidthMapUnitScale
(self) → QgsMapUnitScale¶
-
lineWidthUnit
(self) → QgsUnitTypes.RenderUnit¶ Returns the units for the line’s width.
See also
-
mapUnitScale
(self) → QgsMapUnitScale¶
-
offset
(self) → float¶
-
offsetMapUnitScale
(self) → QgsMapUnitScale¶
-
offsetUnit
(self) → QgsUnitTypes.RenderUnit¶ Returns the units for the line pattern’s offset.
See also
-
ogrFeatureStyleWidth
(self, widthScaleFactor: float) → str¶
-
outputUnit
(self) → QgsUnitTypes.RenderUnit¶
-
properties
(self) → Dict[str, str]¶
-
restoreOldDataDefinedProperties
()¶
-
setColor
(self, c: Union[QColor, Qt.GlobalColor])¶
-
setDistance
(self, d: float)¶ Sets the distance between lines in the fill pattern.
Parameters: d – distance. Units are specified by setDistanceUnit() See also
See also
-
setDistanceMapUnitScale
(self, scale: QgsMapUnitScale)¶
-
setDistanceUnit
(self, unit: QgsUnitTypes.RenderUnit)¶ Sets the units for the distance between lines in the fill pattern.
Parameters: unit – distance units See also
See also
-
setLineAngle
(self, a: float)¶
-
setLineWidth
(self, w: float)¶
-
setLineWidthMapUnitScale
(self, scale: QgsMapUnitScale)¶
-
setLineWidthUnit
(self, unit: QgsUnitTypes.RenderUnit)¶ Sets the units for the line’s width.
Parameters: unit – width units See also
-
setMapUnitScale
(self, scale: QgsMapUnitScale)¶
-
setOffset
(self, offset: float)¶
-
setOffsetMapUnitScale
(self, scale: QgsMapUnitScale)¶
-
setOffsetUnit
(self, unit: QgsUnitTypes.RenderUnit)¶ Sets the units for the line pattern’s offset.
Parameters: unit – offset units See also
-
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]¶
-