libosmscout  1.1.1
Public Member Functions | List of all members
osmscout::LabelStyle Class Referenceabstract

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

Inheritance diagram for osmscout::LabelStyle:
Inheritance graph
[legend]
Collaboration diagram for osmscout::LabelStyle:
Collaboration graph
[legend]

Public Member Functions

 LabelStyle ()
 
 LabelStyle (const LabelStyle &style)
 
 ~LabelStyle () override=default
 
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() [1/2]

osmscout::LabelStyle::LabelStyle ( )

◆ LabelStyle() [2/2]

osmscout::LabelStyle::LabelStyle ( const LabelStyle style)

◆ ~LabelStyle()

osmscout::LabelStyle::~LabelStyle ( )
overridedefault

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()

virtual bool osmscout::LabelStyle::IsVisible ( ) const
pure virtual

◆ 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: