Class: QgsSymbolAnimationSettings¶
Contains settings relating to symbol animation.
Added in version 3.26.
Methods
Returns the symbol animation frame rate (in frames per second). |
|
Returns |
|
Sets the symbol animation frame rate (in frames per second). |
|
Sets whether the symbol is animated. |
- class qgis.core.QgsSymbolAnimationSettings[source]¶
Bases:
object
- frameRate(self) float [source]¶
Returns the symbol animation frame rate (in frames per second).
See also
- Return type:
float
- isAnimated(self) bool [source]¶
Returns
True
if the symbol is animated.This is a user-facing setting for symbols, which allows users to define whether a symbol is animated, and allows for creation of animated symbols via data defined properties.
See also
- Return type:
bool
- setFrameRate(self, rate: float)[source]¶
Sets the symbol animation frame
rate
(in frames per second).See also
- Parameters:
rate (float)