Class: QgsFilledMarkerSymbolLayer¶
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.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Abstract base class for simple marker symbol layers. |
|
Abstract base class for marker symbol layers. |
|
Abstract base class for symbol layers. |
Constructor
Abstract Methods
Methods
Virtual Methods
In PyQGIS, only methods marked as virtual can be safely overridden in a Python subclass of QgsFilledMarkerSymbolLayer. See the FAQ for more details.
Static Methods
Creates a new QgsFilledMarkerSymbolLayer. |
- class qgis.core.QgsFilledMarkerSymbolLayer[source]¶
Bases:
QgsSimpleMarkerSymbolLayerBase- __init__(shape: Qgis.MarkerShape = Qgis.MarkerShape.Circle, size: float = DEFAULT_SIMPLEMARKER_SIZE, angle: float = DEFAULT_SIMPLEMARKER_ANGLE, scaleMethod: Qgis.ScaleMethod = DEFAULT_SCALE_METHOD)¶
Constructor for QgsFilledMarkerSymbolLayer.
- Parameters:
shape (Qgis.MarkerShape = Qgis.MarkerShape.Circle) – symbol shape
size (float = DEFAULT_SIMPLEMARKER_SIZE) – symbol size (in mm)
angle (float = DEFAULT_SIMPLEMARKER_ANGLE) – symbol rotation angle
scaleMethod (Qgis.ScaleMethod = DEFAULT_SCALE_METHOD) – size scaling method
- calculateOffsetAndRotation()¶
- calculateSize()¶
- virtual clone(self) QgsFilledMarkerSymbolLayer | None[source]¶
- Return type:
- static create(properties: dict[str | None, Any] = {}) QgsSymbolLayer | None¶
Creates a new QgsFilledMarkerSymbolLayer.
- Parameters:
properties (dict[str|None, Any] = {}) – a property map containing symbol properties (see
properties())- Return type:
QgsSymbolLayer|None
- Returns:
new QgsFilledMarkerSymbolLayer
- prepareMarkerPath()¶
- prepareMarkerShape()¶
- shapeToPolygon()¶