QGIS API Documentation  3.2.0-Bonn (bc43194)
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< QgsPointXY > &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 ()=default
 Constructor for QgsLabelPosition. More...
 

Public Attributes

QVector< QgsPointXYcornerPoints
 
int featureId = -1
 
double height = 0
 
bool isDiagram = false
 
bool isPinned = false
 
QFont labelFont
 
QgsRectangle labelRect
 
QString labelText
 
QString layerID
 
QString providerID
 
double rotation = 0
 
bool upsideDown = false
 
double width = 0
 

Detailed Description

Definition at line 80 of file qgspallabeling.h.

Constructor & Destructor Documentation

◆ QgsLabelPosition() [1/2]

QgsLabelPosition::QgsLabelPosition ( int  id,
double  r,
const QVector< QgsPointXY > &  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 83 of file qgspallabeling.h.

◆ QgsLabelPosition() [2/2]

QgsLabelPosition::QgsLabelPosition ( )
default

Constructor for QgsLabelPosition.

Member Data Documentation

◆ cornerPoints

QVector< QgsPointXY > QgsLabelPosition::cornerPoints

Definition at line 104 of file qgspallabeling.h.

◆ featureId

int QgsLabelPosition::featureId = -1

Definition at line 102 of file qgspallabeling.h.

◆ height

double QgsLabelPosition::height = 0

Definition at line 107 of file qgspallabeling.h.

◆ isDiagram

bool QgsLabelPosition::isDiagram = false

Definition at line 112 of file qgspallabeling.h.

◆ isPinned

bool QgsLabelPosition::isPinned = false

Definition at line 113 of file qgspallabeling.h.

◆ labelFont

QFont QgsLabelPosition::labelFont

Definition at line 110 of file qgspallabeling.h.

◆ labelRect

QgsRectangle QgsLabelPosition::labelRect

Definition at line 105 of file qgspallabeling.h.

◆ labelText

QString QgsLabelPosition::labelText

Definition at line 109 of file qgspallabeling.h.

◆ layerID

QString QgsLabelPosition::layerID

Definition at line 108 of file qgspallabeling.h.

◆ providerID

QString QgsLabelPosition::providerID
Since
QGIS 2.14

Definition at line 115 of file qgspallabeling.h.

◆ rotation

double QgsLabelPosition::rotation = 0

Definition at line 103 of file qgspallabeling.h.

◆ upsideDown

bool QgsLabelPosition::upsideDown = false

Definition at line 111 of file qgspallabeling.h.

◆ width

double QgsLabelPosition::width = 0

Definition at line 106 of file qgspallabeling.h.


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