QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | Public Attributes | List of all members
QgsLabelPosition Class Reference

#include <qgsmaprenderer.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 49 of file qgsmaprenderer.h.

Constructor & Destructor Documentation

◆ QgsLabelPosition() [1/2]

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 52 of file qgsmaprenderer.h.

◆ QgsLabelPosition() [2/2]

QgsLabelPosition::QgsLabelPosition ( )
inline

Definition at line 67 of file qgsmaprenderer.h.

Member Data Documentation

◆ cornerPoints

QVector< QgsPoint > QgsLabelPosition::cornerPoints

Definition at line 82 of file qgsmaprenderer.h.

◆ featureId

int QgsLabelPosition::featureId

Definition at line 80 of file qgsmaprenderer.h.

◆ height

double QgsLabelPosition::height

Definition at line 85 of file qgsmaprenderer.h.

◆ isDiagram

bool QgsLabelPosition::isDiagram

Definition at line 90 of file qgsmaprenderer.h.

◆ isPinned

bool QgsLabelPosition::isPinned

Definition at line 91 of file qgsmaprenderer.h.

◆ labelFont

QFont QgsLabelPosition::labelFont

Definition at line 88 of file qgsmaprenderer.h.

◆ labelRect

QgsRectangle QgsLabelPosition::labelRect

Definition at line 83 of file qgsmaprenderer.h.

◆ labelText

QString QgsLabelPosition::labelText

Definition at line 87 of file qgsmaprenderer.h.

◆ layerID

QString QgsLabelPosition::layerID

Definition at line 86 of file qgsmaprenderer.h.

◆ providerID

QString QgsLabelPosition::providerID
Note
added in 2.14

Definition at line 93 of file qgsmaprenderer.h.

◆ rotation

double QgsLabelPosition::rotation

Definition at line 81 of file qgsmaprenderer.h.

◆ upsideDown

bool QgsLabelPosition::upsideDown

Definition at line 89 of file qgsmaprenderer.h.

◆ width

double QgsLabelPosition::width

Definition at line 84 of file qgsmaprenderer.h.


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