Class: QgsSvgAnnotation¶
An annotation which renders the contents of an SVG file.
Class Hierarchy¶
Base classes¶
Abstract base class for annotation items which are drawn over a map. |
|
Methods
Returns the file path for the source SVG file. |
|
Sets the file path for the source SVG file. |
Static Methods
Returns a new |
- class qgis.core.QgsSvgAnnotation[source]¶
Bases:
QgsAnnotation
- __init__(parent: QObject | None = None)
Constructor for QgsSvgAnnotation.
- Parameters:
parent (Optional[QObject] = None)
- static create() QgsSvgAnnotation | None [source]¶
Returns a new
QgsSvgAnnotation
object.- Return type:
Optional[QgsSvgAnnotation]
- filePath(self) str [source]¶
Returns the file path for the source SVG file.
See also
- Return type:
str