QGIS API Documentation  3.10.0-A Coruña (6c816b4204)
Classes | Public Member Functions | Public Attributes | List of all members
pal::LabelInfo Class Reference

Optional additional info about label (for curved labels) More...

#include <feature.h>

Classes

struct  CharacterInfo
 

Public Member Functions

 LabelInfo (int num, double height, double maxinangle=20.0, double maxoutangle=-20.0)
 
 LabelInfo (const LabelInfo &rh)=delete
 LabelInfo cannot be copied. More...
 
 ~LabelInfo ()
 
LabelInfooperator= (const LabelInfo &rh)=delete
 LabelInfo cannot be copied. More...
 

Public Attributes

CharacterInfochar_info = nullptr
 
int char_num
 
double label_height
 
double max_char_angle_inside
 
double max_char_angle_outside
 

Detailed Description

Optional additional info about label (for curved labels)

Note
not available in Python bindings

Definition at line 55 of file feature.h.

Constructor & Destructor Documentation

◆ LabelInfo() [1/2]

pal::LabelInfo::LabelInfo ( int  num,
double  height,
double  maxinangle = 20.0,
double  maxoutangle = -20.0 
)
inline

Definition at line 63 of file feature.h.

◆ ~LabelInfo()

pal::LabelInfo::~LabelInfo ( )
inline

Definition at line 72 of file feature.h.

◆ LabelInfo() [2/2]

pal::LabelInfo::LabelInfo ( const LabelInfo rh)
delete

LabelInfo cannot be copied.

Member Function Documentation

◆ operator=()

LabelInfo& pal::LabelInfo::operator= ( const LabelInfo rh)
delete

LabelInfo cannot be copied.

Member Data Documentation

◆ char_info

CharacterInfo* pal::LabelInfo::char_info = nullptr

Definition at line 83 of file feature.h.

◆ char_num

int pal::LabelInfo::char_num

Definition at line 82 of file feature.h.

◆ label_height

double pal::LabelInfo::label_height

Definition at line 81 of file feature.h.

◆ max_char_angle_inside

double pal::LabelInfo::max_char_angle_inside

Definition at line 79 of file feature.h.

◆ max_char_angle_outside

double pal::LabelInfo::max_char_angle_outside

Definition at line 80 of file feature.h.


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