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

Maintains current state of more grainular and temporal values when creating/painting component parts of an individual label (e.g. More...

#include <qgspallabeling.h>

Public Member Functions

 QgsLabelComponent ()
 
const QgsPointcenter () const
 
double dpiRatio () const
 
const QgsPointoffset () const
 
const QgsPointorigin () const
 
const QPicturepicture () const
 
double pictureBuffer () const
 
double rotation () const
 
double rotationOffset () const
 
void setCenter (const QgsPoint &point)
 
void setDpiRatio (const double ratio)
 
void setOffset (const QgsPoint &point)
 
void setOrigin (const QgsPoint &point)
 
void setPicture (QPicture *picture)
 
void setPictureBuffer (const double buffer)
 
void setRotation (const double rotation)
 
void setRotationOffset (const double rotation)
 
void setSize (const QgsPoint &point)
 
void setText (const QString &text)
 
void setUseCenter (const bool use)
 
void setUseOrigin (const bool use)
 
void setUseRotation (const bool use)
 
const QgsPointsize () const
 
QString text () const
 
bool useCenter () const
 
bool useOrigin () const
 
bool useRotation () const
 

Detailed Description

Maintains current state of more grainular and temporal values when creating/painting component parts of an individual label (e.g.

buffer, background, shadow, etc.).

Definition at line 751 of file qgspallabeling.h.

Constructor & Destructor Documentation

◆ QgsLabelComponent()

QgsLabelComponent::QgsLabelComponent ( )
inline

Definition at line 754 of file qgspallabeling.h.

Member Function Documentation

◆ center()

const QgsPoint& QgsLabelComponent::center ( ) const
inline

Definition at line 790 of file qgspallabeling.h.

◆ dpiRatio()

double QgsLabelComponent::dpiRatio ( ) const
inline

Definition at line 808 of file qgspallabeling.h.

◆ offset()

const QgsPoint& QgsLabelComponent::offset ( ) const
inline

Definition at line 799 of file qgspallabeling.h.

◆ origin()

const QgsPoint& QgsLabelComponent::origin ( ) const
inline

Definition at line 775 of file qgspallabeling.h.

◆ picture()

const QPicture* QgsLabelComponent::picture ( ) const
inline

Definition at line 802 of file qgspallabeling.h.

◆ pictureBuffer()

double QgsLabelComponent::pictureBuffer ( ) const
inline

Definition at line 805 of file qgspallabeling.h.

◆ rotation()

double QgsLabelComponent::rotation ( ) const
inline

Definition at line 781 of file qgspallabeling.h.

◆ rotationOffset()

double QgsLabelComponent::rotationOffset ( ) const
inline

Definition at line 784 of file qgspallabeling.h.

◆ setCenter()

void QgsLabelComponent::setCenter ( const QgsPoint point)
inline

Definition at line 791 of file qgspallabeling.h.

◆ setDpiRatio()

void QgsLabelComponent::setDpiRatio ( const double  ratio)
inline

Definition at line 809 of file qgspallabeling.h.

◆ setOffset()

void QgsLabelComponent::setOffset ( const QgsPoint point)
inline

Definition at line 800 of file qgspallabeling.h.

◆ setOrigin()

void QgsLabelComponent::setOrigin ( const QgsPoint point)
inline

Definition at line 776 of file qgspallabeling.h.

◆ setPicture()

void QgsLabelComponent::setPicture ( QPicture picture)
inline

Definition at line 803 of file qgspallabeling.h.

◆ setPictureBuffer()

void QgsLabelComponent::setPictureBuffer ( const double  buffer)
inline

Definition at line 806 of file qgspallabeling.h.

◆ setRotation()

void QgsLabelComponent::setRotation ( const double  rotation)
inline

Definition at line 782 of file qgspallabeling.h.

◆ setRotationOffset()

void QgsLabelComponent::setRotationOffset ( const double  rotation)
inline

Definition at line 785 of file qgspallabeling.h.

◆ setSize()

void QgsLabelComponent::setSize ( const QgsPoint point)
inline

Definition at line 797 of file qgspallabeling.h.

◆ setText()

void QgsLabelComponent::setText ( const QString text)
inline

Definition at line 773 of file qgspallabeling.h.

◆ setUseCenter()

void QgsLabelComponent::setUseCenter ( const bool  use)
inline

Definition at line 794 of file qgspallabeling.h.

◆ setUseOrigin()

void QgsLabelComponent::setUseOrigin ( const bool  use)
inline

Definition at line 779 of file qgspallabeling.h.

◆ setUseRotation()

void QgsLabelComponent::setUseRotation ( const bool  use)
inline

Definition at line 788 of file qgspallabeling.h.

◆ size()

const QgsPoint& QgsLabelComponent::size ( ) const
inline

Definition at line 796 of file qgspallabeling.h.

◆ text()

QString QgsLabelComponent::text ( ) const
inline

Definition at line 772 of file qgspallabeling.h.

◆ useCenter()

bool QgsLabelComponent::useCenter ( ) const
inline

Definition at line 793 of file qgspallabeling.h.

◆ useOrigin()

bool QgsLabelComponent::useOrigin ( ) const
inline

Definition at line 778 of file qgspallabeling.h.

◆ useRotation()

bool QgsLabelComponent::useRotation ( ) const
inline

Definition at line 787 of file qgspallabeling.h.


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