Class: QgsAnnotationItemEditOperationSetItemBounds

Annotation item edit operation consisting of setting the bounds of an item.

Added in version 4.4.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.core.QgsAnnotationItemEditOperationSetItemBounds

Base classes

QgsAbstractAnnotationItemEditOperation

Abstract base class for annotation item edit operations.

Constructor

__init__

Methods

bounds

Returns the new item bounds (in the annotation layer's CRS).

class qgis.core.QgsAnnotationItemEditOperationSetItemBounds[source]

Bases: QgsAbstractAnnotationItemEditOperation

__init__(itemId: str | None, bounds: QgsRectangle)

Constructor for QgsAnnotationItemEditOperationSetItemBounds, setting the item with the specified itemId to the given bounds (in the annotation layer’s CRS).

Parameters:
__init__(a0: QgsAnnotationItemEditOperationSetItemBounds)
Parameters:

a0 (QgsAnnotationItemEditOperationSetItemBounds)

bounds(self) QgsRectangle[source]

Returns the new item bounds (in the annotation layer’s CRS).

Return type:

QgsRectangle