Class: QgsVectorFieldSymbolLayer¶
A symbol layer class for displaying displacement arrows based on point layer attributes.
Class Hierarchy¶
Base classes¶
Abstract base class for marker symbol layers. |
|
Abstract base class for symbol layers. |
Methods
Returns the units for the distance. |
|
Sets the units for the distance. |
|
Static Methods
Creates the symbol layer |
|
Attributes
- class qgis.core.QgsVectorFieldSymbolLayer[source]¶
Bases:
QgsMarkerSymbolLayer
- class AngleOrientation¶
Bases:
int
- class AngleUnits¶
Bases:
int
- Cartesian = 0¶
- ClockwiseFromNorth = 0¶
- CounterclockwiseFromEast = 1¶
- Degrees = 0¶
- Height = 2¶
- Polar = 1¶
- Radians = 1¶
- class VectorFieldType¶
Bases:
int
- angleOrientation(self) QgsVectorFieldSymbolLayer.AngleOrientation [source]¶
- Return type:
- angleUnits(self) QgsVectorFieldSymbolLayer.AngleUnits [source]¶
- Return type:
- static create(properties: Dict[str, Any] = {}) QgsSymbolLayer | None [source]¶
Creates the symbol layer
- Parameters:
properties (Dict[str, Any] = {})
- Return type:
Optional[QgsSymbolLayer]
- static createFromSld(element: QDomElement) QgsSymbolLayer | None [source]¶
- Parameters:
element (QDomElement)
- Return type:
Optional[QgsSymbolLayer]
- distanceMapUnitScale(self) QgsMapUnitScale ¶
- Return type:
- distanceUnit(self) Qgis.RenderUnit [source]¶
Returns the units for the distance.
See also
- Return type:
- setAngleOrientation(self, orientation: QgsVectorFieldSymbolLayer.AngleOrientation)[source]¶
- Parameters:
orientation (QgsVectorFieldSymbolLayer.AngleOrientation)
- setAngleUnits(self, units: QgsVectorFieldSymbolLayer.AngleUnits)[source]¶
- Parameters:
- setDistanceMapUnitScale(self, scale: QgsMapUnitScale)[source]¶
- Parameters:
scale (QgsMapUnitScale)
- setDistanceUnit(self, unit: Qgis.RenderUnit)[source]¶
Sets the units for the distance.
- Parameters:
unit (Qgis.RenderUnit) – distance units
See also
- setVectorFieldType(self, type: QgsVectorFieldSymbolLayer.VectorFieldType)[source]¶
- Parameters:
- vectorFieldType(self) QgsVectorFieldSymbolLayer.VectorFieldType [source]¶
- Return type: