libosmscout  1.1.1
Public Types | Public Member Functions | Public Attributes | List of all members
osmscout::LabelData Class Reference

#include <libosmscout-map/include/osmscout/LabelLayouter.h>

Collaboration diagram for osmscout::LabelData:
Collaboration graph
[legend]

Public Types

enum  Type { Icon, Symbol, Text }
 

Public Member Functions

 LabelData ()=default
 
 ~LabelData ()=default
 

Public Attributes

Type type {Type::Text}
 
size_t priority {0}
 Priority of the entry. More...
 
size_t position {0}
 Relative position of the label. More...
 
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...
 
LabelStyleRef style
 Style for drawing. More...
 
std::string text
 The label text (type==Text|PathText) More...
 
IconStyleRef iconStyle
 Icon or symbol style. More...
 
double iconWidth {0}
 
double iconHeight {0}
 

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

double osmscout::LabelData::alpha {1.0}

Alpha value of the label; 0.0 = fully transparent, 1.0 = solid.

◆ fontSize

double osmscout::LabelData::fontSize {0}

Font size to be used.

◆ iconHeight

double osmscout::LabelData::iconHeight {0}

◆ iconStyle

IconStyleRef osmscout::LabelData::iconStyle

Icon or symbol style.

◆ iconWidth

double osmscout::LabelData::iconWidth {0}

◆ position

size_t osmscout::LabelData::position {0}

Relative position of the label.

◆ priority

size_t osmscout::LabelData::priority {0}

Priority of the entry.

◆ style

LabelStyleRef osmscout::LabelData::style

Style for drawing.

◆ text

std::string osmscout::LabelData::text

The label text (type==Text|PathText)

◆ type

Type osmscout::LabelData::type {Type::Text}

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