Symbol layer class, such as SimpleMarker, SimpleLine, or SimpleFill.
OptionaldataLayer-level data-defined properties, such as fillColor.
OptionaleffectPaint effect applied to this symbol layer.
OptionalenabledWhether the layer is drawn.
OptionalidSymbol layer ID, used by selective masking.
OptionallockedWhether the layer's color is locked against symbol color changes.
OptionalpassRendering pass used with symbol levels.
Class-specific settings. Colors are strings such as 255,0,0,255.
OptionalsubNested symbol, such as the marker drawn along a marker line.
OptionaluserQGIS user flags, as stored.
Symbol layer settings. QGIS stores layer-specific settings as a property map whose keys depend on QgsSymbolLayer.class.
Example