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.

Methods

maximumTailLength

Returns the maximum tail length

maximumTailLengthUnit

Returns the maximum tail length unit

particlesCount

Returns particles count

readXml

Reads configuration from the given DOM element

setMaximumTailLength

Sets the maximums tail length

setMaximumTailLengthUnit

Sets the maximum tail length unit

setParticlesCount

Sets particles count

writeXml

Writes configuration to a new DOM element

class qgis.core.QgsMeshRendererVectorTracesSettings[source]

Bases: object

maximumTailLength(self) float[source]

Returns the maximum tail length

Return type:

float

maximumTailLengthUnit(self) Qgis.RenderUnit[source]

Returns the maximum tail length unit

Return type:

Qgis.RenderUnit

particlesCount(self) int[source]

Returns particles count

Return type:

int

readXml(self, elem: QDomElement)[source]

Reads configuration from the given DOM element

Parameters:

elem (QDomElement)

setMaximumTailLength(self, maximumTailLength: float)[source]

Sets the maximums tail length

Parameters:

maximumTailLength (float)

setMaximumTailLengthUnit(self, maximumTailLengthUnit: Qgis.RenderUnit)[source]

Sets the maximum tail length unit

Parameters:

maximumTailLengthUnit (Qgis.RenderUnit)

setParticlesCount(self, value: int)[source]

Sets particles count

Parameters:

value (int)

writeXml(self, doc: QDomDocument) QDomElement[source]

Writes configuration to a new DOM element

Parameters:

doc (QDomDocument)

Return type:

QDomElement