libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
osmscout::LabelData Class Reference

#include <LabelLayouter.h>

Public Types

enum  Type { Icon, Symbol, Text }
 

Public Member Functions

 LabelData ()=default
 
 ~LabelData ()=default
 

Public Attributes

double alpha {1.0}
 Alpha value of the label; 0.0 = fully transparent, 1.0 = solid. More...
 
double fontSize {0}
 Font size to be used. More...
 
double iconHeight {0}
 
IconStyleRef iconStyle
 Icon or symbol style. More...
 
double iconWidth {0}
 
size_t position {0}
 Relative position of the label. More...
 
size_t priority {0}
 Priority of the entry. More...
 
LabelStyleRef style
 Style for drawing. More...
 
std::string text
 The label text (type==Text|PathText) More...
 
Type type {Type::Text}
 

Member Enumeration Documentation

◆ Type

Enumerator
Icon 
Symbol 
Text 

Constructor & Destructor Documentation

◆ LabelData()

osmscout::LabelData::LabelData ( )
default

◆ ~LabelData()

osmscout::LabelData::~LabelData ( )
default

Member Data Documentation

◆ alpha

◆ fontSize

double osmscout::LabelData::fontSize {0}

◆ iconHeight

◆ iconStyle

◆ iconWidth

◆ position

size_t osmscout::LabelData::position {0}

Relative position of the label.

Referenced by osmscout::LabelLayoutDataSorter().

◆ priority

size_t osmscout::LabelData::priority {0}

◆ style

◆ text

◆ type


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