QGIS API Documentation
3.8.0-Zanzibar (11aff65)
|
#include <qgssymbollayer.h>
Public Member Functions | |
virtual | ~QgsSymbolLayer () |
virtual QgsSymbolLayer * | clone () const =0 |
Shall be reimplemented by subclasses to create a deep copy of the instance. More... | |
virtual QColor | color () const |
The fill color. More... | |
QgsPropertyCollection & | dataDefinedProperties () |
Returns a reference to the symbol layer's property collection, used for data defined overrides. More... | |
const QgsPropertyCollection & | dataDefinedProperties () const |
Returns a reference to the symbol layer's property collection, used for data defined overrides. More... | |
virtual void | drawPreviewIcon (QgsSymbolRenderContext &context, QSize size)=0 |
virtual double | dxfAngle (QgsSymbolRenderContext &context) const |
Gets angle. More... | |
virtual QColor | dxfBrushColor (QgsSymbolRenderContext &context) const |
Gets brush/fill color. More... | |
virtual Qt::BrushStyle | dxfBrushStyle () const |
Gets brush/fill style. More... | |
virtual QColor | dxfColor (QgsSymbolRenderContext &context) const |
Gets color. More... | |
virtual QVector< qreal > | dxfCustomDashPattern (QgsUnitTypes::RenderUnit &unit) const |
Gets dash pattern. More... | |
virtual double | dxfOffset (const QgsDxfExport &e, QgsSymbolRenderContext &context) const |
Gets offset. More... | |
virtual Qt::PenStyle | dxfPenStyle () const |
Gets pen style. More... | |
virtual double | dxfWidth (const QgsDxfExport &e, QgsSymbolRenderContext &context) const |
Gets line width. More... | |
bool | enabled () const |
Returns true if symbol layer is enabled and will be drawn. More... | |
virtual double | estimateMaxBleed (const QgsRenderContext &context) const |
Returns the estimated maximum distance which the layer style will bleed outside the drawn shape when drawn in the specified /a context. More... | |
virtual QColor | fillColor () const |
Gets fill color. More... | |
virtual bool | hasDataDefinedProperties () const |
Returns true if the symbol layer (or any of its sub-symbols) contains data defined properties. More... | |
virtual bool | isCompatibleWithSymbol (QgsSymbol *symbol) const |
Returns if the layer can be used below the specified symbol. More... | |
bool | isLocked () const |
virtual QString | layerType () const =0 |
Returns a string that represents this layer type. More... | |
virtual QgsMapUnitScale | mapUnitScale () const |
virtual QString | ogrFeatureStyle (double mmScaleFactor, double mapUnitScaleFactor) const |
virtual QgsUnitTypes::RenderUnit | outputUnit () const |
Returns the units to use for sizes and widths within the symbol layer. More... | |
QgsPaintEffect * | paintEffect () const |
Returns the current paint effect for the layer. More... | |
virtual void | prepareExpressions (const QgsSymbolRenderContext &context) |
Prepares all data defined property expressions for evaluation. More... | |
virtual QgsStringMap | properties () const =0 |
Should be reimplemented by subclasses to return a string map that contains the configuration information for the symbol layer. More... | |
int | renderingPass () const |
Specifies the rendering pass in which this symbol layer should be rendered. More... | |
virtual void | setColor (const QColor &color) |
The fill color. More... | |
void | setDataDefinedProperties (const QgsPropertyCollection &collection) |
Sets the symbol layer's property collection, used for data defined overrides. More... | |
virtual void | setDataDefinedProperty (Property key, const QgsProperty &property) |
Sets a data defined property for the layer. More... | |
void | setEnabled (bool enabled) |
Sets whether symbol layer is enabled and should be drawn. More... | |
virtual void | setFillColor (const QColor &color) |
Set fill color. More... | |
void | setLocked (bool locked) |
virtual void | setMapUnitScale (const QgsMapUnitScale &scale) |
virtual void | setOutputUnit (QgsUnitTypes::RenderUnit unit) |
Sets the units to use for sizes and widths within the symbol layer. More... | |
void | setPaintEffect (QgsPaintEffect *effect) |
Sets the current paint effect for the layer. More... | |
void | setRenderingPass (int renderingPass) |
Specifies the rendering pass in which this symbol layer should be rendered. More... | |
virtual void | setStrokeColor (const QColor &color) |
Set stroke color. More... | |
virtual bool | setSubSymbol (QgsSymbol *symbol) |
Sets layer's subsymbol. takes ownership of the passed symbol. More... | |
virtual void | startRender (QgsSymbolRenderContext &context)=0 |
virtual void | stopRender (QgsSymbolRenderContext &context)=0 |
virtual QColor | strokeColor () const |
Gets stroke color. More... | |
virtual QgsSymbol * | subSymbol () |
Returns the symbol's sub symbol, if present. More... | |
virtual void | toSld (QDomDocument &doc, QDomElement &element, const QgsStringMap &props) const |
QgsSymbol::SymbolType | type () const |
virtual QSet< QString > | usedAttributes (const QgsRenderContext &context) const |
Returns the set of attributes referenced by the layer. More... | |
virtual bool | writeDxf (QgsDxfExport &e, double mmMapUnitScaleFactor, const QString &layerName, QgsSymbolRenderContext &context, QPointF shift=QPointF(0.0, 0.0)) const |
write as DXF More... | |
Static Public Member Functions | |
static const QgsPropertiesDefinition & | propertyDefinitions () |
Returns the symbol layer property definitions. More... | |
Protected Member Functions | |
QgsSymbolLayer (QgsSymbol::SymbolType type, bool locked=false) | |
void | copyDataDefinedProperties (QgsSymbolLayer *destLayer) const |
Copies all data defined properties of this layer to another symbol layer. More... | |
void | copyPaintEffect (QgsSymbolLayer *destLayer) const |
Copies paint effect of this layer to another symbol layer. More... | |
void | restoreOldDataDefinedProperties (const QgsStringMap &stringMap) |
Restores older data defined properties from string map. More... | |
Protected Attributes | |
QColor | mColor |
QgsPropertyCollection | mDataDefinedProperties |
bool | mEnabled |
True if layer is enabled and should be drawn. More... | |
QgsFields | mFields |
bool | mLocked |
QgsPaintEffect * | mPaintEffect = nullptr |
int | mRenderingPass = 0 |
QgsSymbol::SymbolType | mType |
Static Protected Attributes | |
static const bool | SELECT_FILL_BORDER = false |
Whether fill styles for selected features also highlight symbol stroke. More... | |
static const bool | SELECT_FILL_STYLE = false |
Whether fill styles for selected features uses symbol layer style. More... | |
static const bool | SELECTION_IS_OPAQUE = true |
Whether styles for selected features ignore symbol alpha. More... | |
Definition at line 51 of file qgssymbollayer.h.
Data definable properties.
Definition at line 125 of file qgssymbollayer.h.
|
virtual |
Definition at line 207 of file qgssymbollayer.cpp.
|
protected |
Definition at line 175 of file qgssymbollayer.cpp.
|
pure virtual |
Shall be reimplemented by subclasses to create a deep copy of the instance.
Implemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsSVGFillSymbolLayer, QgsFontMarkerSymbolLayer, QgsRasterFillSymbolLayer, QgsRasterMarkerSymbolLayer, QgsHashedLineSymbolLayer, QgsMarkerLineSymbolLayer, QgsSvgMarkerSymbolLayer, QgsFilledMarkerSymbolLayer, QgsShapeburstFillSymbolLayer, QgsSimpleMarkerSymbolLayer, QgsGradientFillSymbolLayer, QgsSimpleLineSymbolLayer, QgsSimpleFillSymbolLayer, QgsVectorFieldSymbolLayer, QgsGeometryGeneratorSymbolLayer, QgsArrowSymbolLayer, and QgsEllipseSymbolLayer.
|
inlinevirtual |
The fill color.
Reimplemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsHashedLineSymbolLayer, QgsMarkerLineSymbolLayer, QgsFilledMarkerSymbolLayer, QgsSimpleMarkerSymbolLayer, QgsArrowSymbolLayer, and QgsVectorFieldSymbolLayer.
Definition at line 209 of file qgssymbollayer.h.
|
protected |
Copies all data defined properties of this layer to another symbol layer.
destLayer | destination layer |
Definition at line 382 of file qgssymbollayer.cpp.
|
protected |
Copies paint effect of this layer to another symbol layer.
destLayer | destination layer |
Definition at line 390 of file qgssymbollayer.cpp.
|
inline |
Returns a reference to the symbol layer's property collection, used for data defined overrides.
Definition at line 399 of file qgssymbollayer.h.
|
inline |
Returns a reference to the symbol layer's property collection, used for data defined overrides.
Definition at line 406 of file qgssymbollayer.h.
|
pure virtual |
Implemented in QgsFillSymbolLayer, QgsLineSymbolLayer, QgsMarkerSymbolLayer, QgsVectorFieldSymbolLayer, and QgsGeometryGeneratorSymbolLayer.
|
virtual |
Gets angle.
Reimplemented in QgsSimpleFillSymbolLayer.
Definition at line 136 of file qgssymbollayer.cpp.
|
virtual |
Gets brush/fill color.
Reimplemented in QgsSimpleFillSymbolLayer.
Definition at line 153 of file qgssymbollayer.cpp.
|
virtual |
Gets brush/fill style.
Reimplemented in QgsSimpleFillSymbolLayer.
Definition at line 159 of file qgssymbollayer.cpp.
|
virtual |
Gets color.
Reimplemented in QgsImageFillSymbolLayer, QgsSimpleFillSymbolLayer, and QgsSimpleLineSymbolLayer.
Definition at line 130 of file qgssymbollayer.cpp.
|
virtual |
Gets dash pattern.
Reimplemented in QgsSimpleLineSymbolLayer.
Definition at line 142 of file qgssymbollayer.cpp.
|
virtual |
Gets offset.
Reimplemented in QgsSimpleLineSymbolLayer.
Definition at line 123 of file qgssymbollayer.cpp.
|
virtual |
Gets pen style.
Reimplemented in QgsImageFillSymbolLayer, QgsSimpleFillSymbolLayer, and QgsSimpleLineSymbolLayer.
Definition at line 148 of file qgssymbollayer.cpp.
|
virtual |
Gets line width.
Reimplemented in QgsLineSymbolLayer, QgsImageFillSymbolLayer, QgsSimpleFillSymbolLayer, and QgsSimpleLineSymbolLayer.
Definition at line 116 of file qgssymbollayer.cpp.
|
inline |
Returns true
if symbol layer is enabled and will be drawn.
Definition at line 195 of file qgssymbollayer.h.
|
inlinevirtual |
Returns the estimated maximum distance which the layer style will bleed outside the drawn shape when drawn in the specified /a context.
For example, polygons drawn with an stroke will draw half the width of the stroke outside of the polygon. This amount is estimated, since it may be affected by data defined symbology rules.
Reimplemented in QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsRasterFillSymbolLayer, QgsHashedLineSymbolLayer, QgsImageFillSymbolLayer, QgsMarkerLineSymbolLayer, QgsFilledMarkerSymbolLayer, QgsShapeburstFillSymbolLayer, QgsGradientFillSymbolLayer, QgsSimpleFillSymbolLayer, and QgsSimpleLineSymbolLayer.
Definition at line 286 of file qgssymbollayer.h.
|
inlinevirtual |
Gets fill color.
Supported by marker and fill layers.
Reimplemented in QgsSvgMarkerSymbolLayer, QgsSimpleMarkerSymbolLayer, QgsSimpleFillSymbolLayer, and QgsEllipseSymbolLayer.
Definition at line 234 of file qgssymbollayer.h.
|
virtual |
Returns true
if the symbol layer (or any of its sub-symbols) contains data defined properties.
Reimplemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsHashedLineSymbolLayer, QgsImageFillSymbolLayer, QgsMarkerLineSymbolLayer, QgsFilledMarkerSymbolLayer, QgsGeometryGeneratorSymbolLayer, QgsVectorFieldSymbolLayer, and QgsArrowSymbolLayer.
Definition at line 196 of file qgssymbollayer.cpp.
|
virtual |
Returns if the layer can be used below the specified symbol.
Reimplemented in QgsGeometryGeneratorSymbolLayer.
Definition at line 212 of file qgssymbollayer.cpp.
|
inline |
Definition at line 278 of file qgssymbollayer.h.
|
pure virtual |
Returns a string that represents this layer type.
Used for serialization. Should match with the string used to register this symbol layer in the registry.
Implemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsSVGFillSymbolLayer, QgsFontMarkerSymbolLayer, QgsRasterFillSymbolLayer, QgsHashedLineSymbolLayer, QgsRasterMarkerSymbolLayer, QgsMarkerLineSymbolLayer, QgsSvgMarkerSymbolLayer, QgsFilledMarkerSymbolLayer, QgsShapeburstFillSymbolLayer, QgsSimpleMarkerSymbolLayer, QgsGradientFillSymbolLayer, QgsArrowSymbolLayer, QgsSimpleLineSymbolLayer, QgsSimpleFillSymbolLayer, QgsVectorFieldSymbolLayer, QgsEllipseSymbolLayer, and QgsGeometryGeneratorSymbolLayer.
|
inlinevirtual |
Reimplemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsSVGFillSymbolLayer, QgsLineSymbolLayer, QgsRasterMarkerSymbolLayer, QgsMarkerSymbolLayer, QgsImageFillSymbolLayer, QgsSvgMarkerSymbolLayer, QgsShapeburstFillSymbolLayer, QgsTemplatedLineSymbolLayerBase, QgsGradientFillSymbolLayer, QgsSimpleMarkerSymbolLayer, QgsEllipseSymbolLayer, QgsSimpleFillSymbolLayer, QgsVectorFieldSymbolLayer, and QgsSimpleLineSymbolLayer.
Definition at line 309 of file qgssymbollayer.h.
|
inlinevirtual |
Reimplemented in QgsSimpleMarkerSymbolLayer, QgsSimpleLineSymbolLayer, and QgsSimpleFillSymbolLayer.
Definition at line 253 of file qgssymbollayer.h.
|
inlinevirtual |
Returns the units to use for sizes and widths within the symbol layer.
Individual symbol layer subclasses will interpret this in different ways, e.g., a marker symbol layer may use it to specify the units for the marker size, while a line symbol layer may use it to specify the units for the line width.
Reimplemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsSVGFillSymbolLayer, QgsLineSymbolLayer, QgsMarkerSymbolLayer, QgsImageFillSymbolLayer, QgsSvgMarkerSymbolLayer, QgsShapeburstFillSymbolLayer, QgsTemplatedLineSymbolLayerBase, QgsGradientFillSymbolLayer, QgsSimpleMarkerSymbolLayer, QgsEllipseSymbolLayer, QgsSimpleFillSymbolLayer, QgsVectorFieldSymbolLayer, and QgsSimpleLineSymbolLayer.
Definition at line 306 of file qgssymbollayer.h.
QgsPaintEffect * QgsSymbolLayer::paintEffect | ( | ) | const |
Returns the current paint effect for the layer.
Definition at line 164 of file qgssymbollayer.cpp.
|
virtual |
Prepares all data defined property expressions for evaluation.
This should be called prior to evaluating data defined properties.
context | symbol render context |
Definition at line 185 of file qgssymbollayer.cpp.
|
pure virtual |
Should be reimplemented by subclasses to return a string map that contains the configuration information for the symbol layer.
This is used to serialize a symbol layer perstistently.
Implemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsSVGFillSymbolLayer, QgsFontMarkerSymbolLayer, QgsRasterFillSymbolLayer, QgsRasterMarkerSymbolLayer, QgsHashedLineSymbolLayer, QgsSvgMarkerSymbolLayer, QgsTemplatedLineSymbolLayerBase, QgsFilledMarkerSymbolLayer, QgsShapeburstFillSymbolLayer, QgsSimpleMarkerSymbolLayer, QgsGradientFillSymbolLayer, QgsArrowSymbolLayer, QgsSimpleLineSymbolLayer, QgsVectorFieldSymbolLayer, QgsSimpleFillSymbolLayer, QgsGeometryGeneratorSymbolLayer, and QgsEllipseSymbolLayer.
|
static |
Returns the symbol layer property definitions.
Definition at line 201 of file qgssymbollayer.cpp.
int QgsSymbolLayer::renderingPass | ( | ) | const |
Specifies the rendering pass in which this symbol layer should be rendered.
The lower the number, the lower the symbol will be rendered. 0: first pass, 1: second pass, ... Defaults to 0
Definition at line 225 of file qgssymbollayer.cpp.
|
protected |
Restores older data defined properties from string map.
Definition at line 337 of file qgssymbollayer.cpp.
|
inlinevirtual |
The fill color.
Reimplemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsHashedLineSymbolLayer, QgsMarkerLineSymbolLayer, QgsFilledMarkerSymbolLayer, QgsSimpleMarkerSymbolLayer, QgsArrowSymbolLayer, QgsGeometryGeneratorSymbolLayer, and QgsVectorFieldSymbolLayer.
Definition at line 214 of file qgssymbollayer.h.
|
inline |
Sets the symbol layer's property collection, used for data defined overrides.
collection | property collection. Existing properties will be replaced. |
Definition at line 414 of file qgssymbollayer.h.
|
virtual |
Sets a data defined property for the layer.
Any existing property with the same key will be overwritten.
Reimplemented in QgsHashedLineSymbolLayer, and QgsMarkerLineSymbolLayer.
Definition at line 101 of file qgssymbollayer.cpp.
|
inline |
Sets whether symbol layer is enabled and should be drawn.
Disabled layers are not drawn, but remain part of the symbol and can be re-enabled when desired.
Definition at line 204 of file qgssymbollayer.h.
|
inlinevirtual |
Set fill color.
Supported by marker and fill layers.
Reimplemented in QgsSvgMarkerSymbolLayer, QgsSimpleMarkerSymbolLayer, QgsSimpleFillSymbolLayer, and QgsEllipseSymbolLayer.
Definition at line 229 of file qgssymbollayer.h.
|
inline |
Definition at line 277 of file qgssymbollayer.h.
|
inlinevirtual |
Reimplemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsSVGFillSymbolLayer, QgsLineSymbolLayer, QgsRasterMarkerSymbolLayer, QgsMarkerSymbolLayer, QgsImageFillSymbolLayer, QgsSvgMarkerSymbolLayer, QgsShapeburstFillSymbolLayer, QgsTemplatedLineSymbolLayerBase, QgsGradientFillSymbolLayer, QgsSimpleMarkerSymbolLayer, QgsEllipseSymbolLayer, QgsSimpleFillSymbolLayer, QgsVectorFieldSymbolLayer, and QgsSimpleLineSymbolLayer.
Definition at line 308 of file qgssymbollayer.h.
|
inlinevirtual |
Sets the units to use for sizes and widths within the symbol layer.
Individual symbol layer subclasses will interpret this in different ways, e.g., a marker symbol layer may use it to specify the units for the marker size, while a line symbol layer may use it to specify the units for the line width.
unit | output units |
Reimplemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsSVGFillSymbolLayer, QgsLineSymbolLayer, QgsMarkerSymbolLayer, QgsHashedLineSymbolLayer, QgsImageFillSymbolLayer, QgsMarkerLineSymbolLayer, QgsSvgMarkerSymbolLayer, QgsShapeburstFillSymbolLayer, QgsGradientFillSymbolLayer, QgsSimpleMarkerSymbolLayer, QgsEllipseSymbolLayer, QgsSimpleFillSymbolLayer, QgsVectorFieldSymbolLayer, and QgsSimpleLineSymbolLayer.
Definition at line 296 of file qgssymbollayer.h.
void QgsSymbolLayer::setPaintEffect | ( | QgsPaintEffect * | effect | ) |
Sets the current paint effect for the layer.
effect | paint effect. Ownership is transferred to the layer. |
Definition at line 169 of file qgssymbollayer.cpp.
void QgsSymbolLayer::setRenderingPass | ( | int | renderingPass | ) |
Specifies the rendering pass in which this symbol layer should be rendered.
The lower the number, the lower the symbol will be rendered. 0: first pass, 1: second pass, ... Defaults to 0
Definition at line 220 of file qgssymbollayer.cpp.
|
inlinevirtual |
Set stroke color.
Supported by marker and fill layers.
Reimplemented in QgsFontMarkerSymbolLayer, QgsSvgMarkerSymbolLayer, QgsSimpleMarkerSymbolLayer, QgsEllipseSymbolLayer, and QgsSimpleFillSymbolLayer.
Definition at line 219 of file qgssymbollayer.h.
|
inlinevirtual |
Sets layer's subsymbol. takes ownership of the passed symbol.
Reimplemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsRasterFillSymbolLayer, QgsHashedLineSymbolLayer, QgsImageFillSymbolLayer, QgsMarkerLineSymbolLayer, QgsFilledMarkerSymbolLayer, QgsGeometryGeneratorSymbolLayer, QgsVectorFieldSymbolLayer, and QgsArrowSymbolLayer.
Definition at line 270 of file qgssymbollayer.h.
|
pure virtual |
Implemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsSVGFillSymbolLayer, QgsFontMarkerSymbolLayer, QgsRasterFillSymbolLayer, QgsHashedLineSymbolLayer, QgsMarkerLineSymbolLayer, QgsSvgMarkerSymbolLayer, QgsMarkerSymbolLayer, QgsFilledMarkerSymbolLayer, QgsShapeburstFillSymbolLayer, QgsSimpleMarkerSymbolLayer, QgsGradientFillSymbolLayer, QgsArrowSymbolLayer, QgsSimpleMarkerSymbolLayerBase, QgsSimpleLineSymbolLayer, QgsVectorFieldSymbolLayer, QgsSimpleFillSymbolLayer, QgsGeometryGeneratorSymbolLayer, and QgsEllipseSymbolLayer.
|
pure virtual |
Implemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsSVGFillSymbolLayer, QgsFontMarkerSymbolLayer, QgsRasterFillSymbolLayer, QgsHashedLineSymbolLayer, QgsMarkerLineSymbolLayer, QgsSvgMarkerSymbolLayer, QgsMarkerSymbolLayer, QgsFilledMarkerSymbolLayer, QgsShapeburstFillSymbolLayer, QgsGradientFillSymbolLayer, QgsArrowSymbolLayer, QgsSimpleMarkerSymbolLayerBase, QgsSimpleLineSymbolLayer, QgsVectorFieldSymbolLayer, QgsSimpleFillSymbolLayer, QgsGeometryGeneratorSymbolLayer, and QgsEllipseSymbolLayer.
|
inlinevirtual |
Gets stroke color.
Supported by marker and fill layers.
Reimplemented in QgsFontMarkerSymbolLayer, QgsSvgMarkerSymbolLayer, QgsSimpleMarkerSymbolLayer, QgsEllipseSymbolLayer, and QgsSimpleFillSymbolLayer.
Definition at line 224 of file qgssymbollayer.h.
|
inlinevirtual |
Returns the symbol's sub symbol, if present.
Reimplemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsRasterFillSymbolLayer, QgsHashedLineSymbolLayer, QgsImageFillSymbolLayer, QgsMarkerLineSymbolLayer, QgsFilledMarkerSymbolLayer, QgsGeometryGeneratorSymbolLayer, QgsVectorFieldSymbolLayer, and QgsArrowSymbolLayer.
Definition at line 267 of file qgssymbollayer.h.
|
inlinevirtual |
Reimplemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsSVGFillSymbolLayer, QgsMarkerSymbolLayer, QgsMarkerLineSymbolLayer, QgsSimpleLineSymbolLayer, QgsVectorFieldSymbolLayer, QgsSimpleFillSymbolLayer, and QgsEllipseSymbolLayer.
Definition at line 250 of file qgssymbollayer.h.
|
inline |
Definition at line 272 of file qgssymbollayer.h.
|
virtual |
Returns the set of attributes referenced by the layer.
This includes attributes required by any data defined properties associated with the layer.
Reimplemented in QgsCentroidFillSymbolLayer, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsHashedLineSymbolLayer, QgsImageFillSymbolLayer, QgsMarkerLineSymbolLayer, QgsFilledMarkerSymbolLayer, QgsGeometryGeneratorSymbolLayer, QgsVectorFieldSymbolLayer, and QgsArrowSymbolLayer.
Definition at line 230 of file qgssymbollayer.cpp.
|
virtual |
write as DXF
Reimplemented in QgsSvgMarkerSymbolLayer, QgsSimpleMarkerSymbolLayer, and QgsEllipseSymbolLayer.
Definition at line 106 of file qgssymbollayer.cpp.
|
protected |
Definition at line 433 of file qgssymbollayer.h.
|
protected |
Definition at line 436 of file qgssymbollayer.h.
|
protected |
True if layer is enabled and should be drawn.
Definition at line 430 of file qgssymbollayer.h.
|
protected |
Definition at line 439 of file qgssymbollayer.h.
|
protected |
Definition at line 432 of file qgssymbollayer.h.
|
protected |
Definition at line 438 of file qgssymbollayer.h.
|
protected |
Definition at line 434 of file qgssymbollayer.h.
|
protected |
Definition at line 427 of file qgssymbollayer.h.
|
staticprotected |
Whether fill styles for selected features also highlight symbol stroke.
Definition at line 445 of file qgssymbollayer.h.
|
staticprotected |
Whether fill styles for selected features uses symbol layer style.
Definition at line 447 of file qgssymbollayer.h.
|
staticprotected |
Whether styles for selected features ignore symbol alpha.
Definition at line 443 of file qgssymbollayer.h.