Class: QgsFillSymbolLayer

class qgis.core.QgsFillSymbolLayer(locked: bool = False)

Bases: QgsSymbolLayer

Parameters

locked

angle(self) → float
Return type

float

copyDataDefinedProperties(self, destLayer: QgsSymbolLayer)

Copies all data defined properties of this layer to another symbol layer.

Parameters

destLayer – destination layer

copyPaintEffect(self, destLayer: QgsSymbolLayer)

Copies paint effect of this layer to another symbol layer

Parameters

destLayer – destination layer

New in version 2.9.

drawPreviewIcon(self, context: QgsSymbolRenderContext, size: QSize)
Parameters
renderPolygon(self, points: QPolygonF, rings: Iterable[QPolygonF], context: QgsSymbolRenderContext)

Renders the fill symbol layer for the polygon whose outer ring is defined by points, using the given render context.

The rings argument optionally specifies a list of polygon rings to render as holes.

Parameters
restoreOldDataDefinedProperties(self, stringMap: Dict[str, Any])

Restores older data defined properties from string map.

New in version 3.0.

setAngle(self, angle: float)
Parameters

angle (float) –