QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
|
Contains information about a node used for editing an annotation item. More...
#include <qgsannotationitemnode.h>
Public Member Functions | |
QgsAnnotationItemNode ()=default | |
Default constructor. More... | |
QgsAnnotationItemNode (const QgsVertexId &id, const QgsPointXY &point, Qgis::AnnotationItemNodeType type) | |
Constructor for QgsAnnotationItemNode, with the specified id, point and type. More... | |
QgsVertexId | id () const |
Returns the ID number of the node, used for uniquely identifying the node in the item. More... | |
bool | operator!= (const QgsAnnotationItemNode &other) const |
bool | operator== (const QgsAnnotationItemNode &other) const |
QgsPointXY | point () const |
Returns the node's position, in geographic coordinates. More... | |
void | setPoint (QgsPointXY point) |
Sets the node's position, in geographic coordinates. More... | |
void | setType (Qgis::AnnotationItemNodeType type) |
Sets the node type. More... | |
Qgis::AnnotationItemNodeType | type () const |
Returns the node type. More... | |
Contains information about a node used for editing an annotation item.
Definition at line 31 of file qgsannotationitemnode.h.
|
default |
Default constructor.
|
inline |
Constructor for QgsAnnotationItemNode, with the specified id, point and type.
Definition at line 43 of file qgsannotationitemnode.h.
|
inline |
Returns the ID number of the node, used for uniquely identifying the node in the item.
Definition at line 63 of file qgsannotationitemnode.h.
|
inline |
Definition at line 103 of file qgsannotationitemnode.h.
|
inline |
Definition at line 98 of file qgsannotationitemnode.h.
|
inline |
Returns the node's position, in geographic coordinates.
The coordinates will match the annotation item's CRS.
Definition at line 72 of file qgsannotationitemnode.h.
|
inline |
Sets the node's position, in geographic coordinates.
The coordinates will match the annotation item's CRS.
Definition at line 81 of file qgsannotationitemnode.h.
|
inline |
|
inline |