Class: QgsMeshRendererVectorStreamlineSettings

class qgis.core.QgsMeshRendererVectorStreamlineSettings

Bases: sip.wrapper

Represents a streamline renderer settings for vector datasets displayed by streamlines

Note

The API is considered EXPERIMENTAL and can be changed without a notice

Methods

readXml

Reads configuration from the given DOM element

seedingDensity

Returns the density used for seeding start points

seedingMethod

Returns the method used for seeding start points of strealines

setSeedingDensity

Sets the density used for seeding start points

setSeedingMethod

Sets the method used for seeding start points of strealines

writeXml

Writes configuration to a new DOM element

Attributes

MeshGridded

Random

MeshGridded = 0
Random = 1
class SeedingStartPointsMethod

Bases: int

readXml(self, elem: QDomElement)

Reads configuration from the given DOM element

Parameters

elem (QDomElement) –

seedingDensity(self) → float

Returns the density used for seeding start points

Return type

float

seedingMethod(self)QgsMeshRendererVectorStreamlineSettings.SeedingStartPointsMethod

Returns the method used for seeding start points of strealines

Return type

QgsMeshRendererVectorStreamlineSettings.SeedingStartPointsMethod

setSeedingDensity(self, seedingDensity: float)

Sets the density used for seeding start points

Parameters

seedingDensity (float) –

setSeedingMethod(self, seedingMethod: QgsMeshRendererVectorStreamlineSettings.SeedingStartPointsMethod)

Sets the method used for seeding start points of strealines

Parameters

seedingMethod (QgsMeshRendererVectorStreamlineSettings.SeedingStartPointsMethod) –

writeXml(self, doc: QDomDocument) → QDomElement

Writes configuration to a new DOM element

Parameters

doc (QDomDocument) –

Return type

QDomElement