libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::LabelStyle Class Referenceabstract

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

Inheritance diagram for osmscout::LabelStyle:
Collaboration diagram for osmscout::LabelStyle:

Public Member Functions

 LabelStyle ()
virtual bool IsVisible () const =0
virtual double GetAlpha () const =0
LabelStyleSetPriority (size_t priority)
virtual LabelStyleSetSize (double size)
size_t GetPriority () const
double GetSize () const
Public Member Functions inherited from osmscout::Style
virtual ~Style ()=default
virtual void SetBoolValue (int attribute, bool value)
virtual void SetStringValue (int attribute, const std::string &value)
virtual void SetColorValue (int attribute, const Color &value)
virtual void SetMagnificationValue (int attribute, const Magnification &value)
virtual void SetDoubleValue (int attribute, double value)
virtual void SetDoubleArrayValue (int attribute, const std::vector< double > &value)
virtual void SetSymbolValue (int attribute, const SymbolRef &value)
virtual void SetIntValue (int attribute, int value)
virtual void SetUIntValue (int attribute, size_t value)
virtual void SetLabelValue (int attribute, const LabelProviderRef &value)

Detailed Description

Abstract base class for all (point) labels. All point labels have priority and a alpha value.

Constructor & Destructor Documentation

◆ LabelStyle()

osmscout::LabelStyle::LabelStyle ( )

Member Function Documentation

◆ GetAlpha()

virtual double osmscout::LabelStyle::GetAlpha ( ) const
pure virtual

◆ GetPriority()

size_t osmscout::LabelStyle::GetPriority ( ) const
inline

◆ GetSize()

double osmscout::LabelStyle::GetSize ( ) const
inline

◆ IsVisible()

◆ SetPriority()

LabelStyle & osmscout::LabelStyle::SetPriority ( size_t priority)

◆ SetSize()

virtual LabelStyle & osmscout::LabelStyle::SetSize ( double size)
virtual

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