Subgroup: other

Class: QgsFilledMarkerSymbolLayer

class qgis.core.QgsFilledMarkerSymbolLayer(shape: QgsSimpleMarkerSymbolLayerBase.Shape = QgsSimpleMarkerSymbolLayerBase.Circle, size: float = DEFAULT_SIMPLEMARKER_SIZE, angle: float = DEFAULT_SIMPLEMARKER_ANGLE, scaleMethod: QgsSymbol.ScaleMethod = DEFAULT_SCALE_METHOD)

Bases: qgis._core.QgsSimpleMarkerSymbolLayerBase

Constructor for QgsFilledMarkerSymbolLayer.

Parameters:
  • shape – symbol shape
  • size – symbol size (in mm)
  • angle – symbol rotation angle
  • scaleMethod

    size scaling method

    Filled marker symbol layer, consisting of a shape which is rendered using a QgsFillSymbol. This allows

the symbol to support advanced styling of the interior and stroke of the shape.

calculateOffsetAndRotation()
calculateSize()
clone(self) → QgsFilledMarkerSymbolLayer
color(self) → QColor
copyDataDefinedProperties()
copyPaintEffect()
create(properties: Dict[str, str] = {}) → QgsSymbolLayer

Creates a new QgsFilledMarkerSymbolLayer.

Parameters:properties – a property map containing symbol properties (see properties())
Returns:new QgsFilledMarkerSymbolLayer
draw()
estimateMaxBleed(self, context: QgsRenderContext) → float
layerType(self) → str
markerOffset()
markerOffset2()
markerOffsetWithWidthAndHeight()
prepareMarkerPath()
prepareMarkerShape()
properties(self) → Dict[str, str]
restoreOldDataDefinedProperties()
setColor(self, c: Union[QColor, Qt.GlobalColor])
setSubSymbol(self, symbol: QgsSymbol) → bool
shapeToPolygon()
startRender(self, context: QgsSymbolRenderContext)
stopRender(self, context: QgsSymbolRenderContext)
subSymbol(self) → QgsSymbol
usedAttributes(self, context: QgsRenderContext) → Set[str]