libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::LabelData Class Reference

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

Collaboration diagram for osmscout::LabelData:

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.
size_t position {0}
 Relative position of the label.
double alpha {1.0}
 Alpha value of the label; 0.0 = fully transparent, 1.0 = solid.
double fontSize {0}
 Font size to be used.
LabelStyleRef style
 Style for drawing.
std::string text
 The label text (type==Text|PathText).
IconStyleRef iconStyle
 Icon or symbol style.
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: