Class: QgsFilledLineSymbolLayer¶
A line symbol layer type which fills a stroked line with a
QgsFillSymbol.
Added in version 3.36.
Class Hierarchy¶
Base classes¶
Abstract base class for line symbol layers.  | 
|
Constructor for QgsSymbolLayer.  | 
Methods
Returns the pen cap style used to render the line (e.g. flat, square, round, etc).  | 
|
Returns the pen join style used to render the line (e.g. miter, bevel, round, etc).  | 
|
Sets the pen cap style used to render the line (e.g. flat, square, round, etc).  | 
|
Sets the pen join style used to render the line (e.g. miter, bevel, round, etc).  | 
Static Methods
Creates a new   | 
- class qgis.core.QgsFilledLineSymbolLayer[source]¶
 Bases:
QgsLineSymbolLayer- __init__(width: float = DEFAULT_SIMPLELINE_WIDTH, fillSymbol: QgsFillSymbol | None = None)
 Constructor for QgsFilledLineSymbolLayer.
If a
fillSymbolis specified, it will be transferred to the symbol layer and used to fill the inside of the stroked line. If nofillSymbolis specified then a default symbol will be used.- Parameters:
 width (float = DEFAULT_SIMPLELINE_WIDTH)
fillSymbol (Optional[QgsFillSymbol] = None)
- static create(properties: Dict[str, Any] = {}) QgsSymbolLayer | None[source]¶
 Creates a new
QgsFilledLineSymbolLayer, using the settings serialized in thepropertiesmap (corresponding to the output fromQgsFilledLineSymbolLayer.properties()).- Parameters:
 properties (Dict[str, Any] = {})
- Return type:
 Optional[QgsSymbolLayer]
- penCapStyle(self) Qt.PenCapStyle[source]¶
 Returns the pen cap style used to render the line (e.g. flat, square, round, etc).
See also
- Return type:
 Qt.PenCapStyle
- penJoinStyle(self) Qt.PenJoinStyle[source]¶
 Returns the pen join style used to render the line (e.g. miter, bevel, round, etc).
See also
- Return type:
 Qt.PenJoinStyle
- setPenCapStyle(self, style: Qt.PenCapStyle)[source]¶
 Sets the pen cap
styleused to render the line (e.g. flat, square, round, etc).See also
- Parameters:
 style (Qt.PenCapStyle)