QGIS API Documentation  2.99.0-Master (c558d51)
Public Member Functions | Public Attributes | List of all members
QgsLabelPosition Class Reference

#include <qgspallabeling.h>

Public Member Functions

 QgsLabelPosition (int id, double r, const QVector< QgsPoint > &corners, const QgsRectangle &rect, double w, double h, const QString &layer, const QString &labeltext, const QFont &labelfont, bool upside_down, bool diagram=false, bool pinned=false, const QString &providerId=QString())
 
 QgsLabelPosition ()
 

Public Attributes

QVector< QgsPointcornerPoints
 
int featureId
 
double height
 
bool isDiagram
 
bool isPinned
 
QFont labelFont
 
QgsRectangle labelRect
 
QString labelText
 
QString layerID
 
QString providerID
 
double rotation
 
bool upsideDown
 
double width
 

Detailed Description

Definition at line 74 of file qgspallabeling.h.

Constructor & Destructor Documentation

QgsLabelPosition::QgsLabelPosition ( int  id,
double  r,
const QVector< QgsPoint > &  corners,
const QgsRectangle rect,
double  w,
double  h,
const QString &  layer,
const QString &  labeltext,
const QFont &  labelfont,
bool  upside_down,
bool  diagram = false,
bool  pinned = false,
const QString &  providerId = QString() 
)
inline

Definition at line 77 of file qgspallabeling.h.

QgsLabelPosition::QgsLabelPosition ( )
inline

Definition at line 92 of file qgspallabeling.h.

Member Data Documentation

QVector< QgsPoint > QgsLabelPosition::cornerPoints

Definition at line 107 of file qgspallabeling.h.

int QgsLabelPosition::featureId

Definition at line 105 of file qgspallabeling.h.

double QgsLabelPosition::height

Definition at line 110 of file qgspallabeling.h.

bool QgsLabelPosition::isDiagram

Definition at line 115 of file qgspallabeling.h.

bool QgsLabelPosition::isPinned

Definition at line 116 of file qgspallabeling.h.

QFont QgsLabelPosition::labelFont

Definition at line 113 of file qgspallabeling.h.

QgsRectangle QgsLabelPosition::labelRect

Definition at line 108 of file qgspallabeling.h.

QString QgsLabelPosition::labelText

Definition at line 112 of file qgspallabeling.h.

QString QgsLabelPosition::layerID

Definition at line 111 of file qgspallabeling.h.

QString QgsLabelPosition::providerID
Note
added in 2.14

Definition at line 118 of file qgspallabeling.h.

double QgsLabelPosition::rotation

Definition at line 106 of file qgspallabeling.h.

bool QgsLabelPosition::upsideDown

Definition at line 114 of file qgspallabeling.h.

double QgsLabelPosition::width

Definition at line 109 of file qgspallabeling.h.


The documentation for this class was generated from the following file: