Class: QgsMeshRendererVectorTracesSettings¶
Represents a trace renderer settings for vector datasets displayed by particle traces.
Note
The API is considered EXPERIMENTAL and can be changed without a notice
Added in version 3.12.
List of all members, including inherited members
Methods
Returns the maximum tail length |
|
Returns the maximum tail length unit |
|
Returns particles count |
|
Reads configuration from the given DOM element |
|
Sets the maximums tail length |
|
Sets the maximum tail length unit |
|
Sets particles count |
|
Writes configuration to a new DOM element |
- class qgis.core.QgsMeshRendererVectorTracesSettings[source]¶
Bases:
object- maximumTailLength(self) float¶
Returns the maximum tail length
- Return type:
float
- maximumTailLengthUnit(self) Qgis.RenderUnit¶
Returns the maximum tail length unit
- Return type:
- particlesCount(self) int¶
Returns particles count
- Return type:
int
- readXml(self, elem: QDomElement)¶
Reads configuration from the given DOM element
- Parameters:
elem (QDomElement)
- setMaximumTailLength(self, maximumTailLength: float)¶
Sets the maximums tail length
- Parameters:
maximumTailLength (float)
- setMaximumTailLengthUnit(self, maximumTailLengthUnit: Qgis.RenderUnit)¶
Sets the maximum tail length unit
- Parameters:
maximumTailLengthUnit (Qgis.RenderUnit)
- setParticlesCount(self, value: int)¶
Sets particles count
- Parameters:
value (int)
- writeXml(self, doc: QDomDocument) QDomElement¶
Writes configuration to a new DOM element
- Parameters:
doc (QDomDocument)
- Return type:
QDomElement