Class: QgsSvgAnnotation¶
-
class
qgis.core.
QgsSvgAnnotation
(parent: QObject = None)¶ Bases:
qgis._core.QgsAnnotation
Constructor for QgsSvgAnnotation.
An annotation which renders the contents of an SVG file.
New in version 3.0: Enums
Methods
Returns a new QgsSvgAnnotation object.
Returns the file path for the source SVG file.
Sets the file path for the source SVG file.
Signals
Attributes
-
childEvent
()¶
-
clone
(self) → QgsSvgAnnotation¶
-
connectNotify
()¶
-
copyCommonProperties
()¶
-
create
() → QgsSvgAnnotation¶ Returns a new QgsSvgAnnotation object.
-
customEvent
()¶
-
disconnectNotify
()¶
-
filePath
(self) → str¶ Returns the file path for the source SVG file.
See also
-
isSignalConnected
()¶
-
minimumFrameSize
()¶
-
readXml
(self, itemElem: QDomElement, context: QgsReadWriteContext)¶
-
receivers
()¶
-
renderAnnotation
(self, context: QgsRenderContext, size: QSizeF)¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setFilePath
(self, file: str)¶ Sets the file path for the source SVG file.
See also
-
timerEvent
()¶
-
writeXml
(self, elem: QDomElement, doc: QDomDocument, context: QgsReadWriteContext)¶
-