|
libosmscout 0.1
|
A shield or plate label (text placed on a plate). More...
#include <Styles.h>
Public Types | |
| enum | Attribute { attrPriority , attrSize , attrLabel , attrTextColor , attrBgColor , attrBorderColor } |
Public Member Functions | |
| void | CopyAttributes (const ShieldStyle &other, const std::set< Attribute > &attributes) |
| double | GetAlpha () const override |
| const Color & | GetBgColor () const |
| const Color & | GetBorderColor () const |
| const LabelProviderRef & | GetLabel () const |
| const Color & | GetTextColor () const |
| bool | IsVisible () const override |
| ShieldStyle & | SetBgColor (const Color &color) |
| ShieldStyle & | SetBorderColor (const Color &color) |
| ShieldStyle & | SetLabel (const LabelProviderRef &label) |
| ShieldStyle & | SetSize (double size) override |
| ShieldStyle & | SetTextColor (const Color &color) |
| ShieldStyle () | |
| Public Member Functions inherited from osmscout::LabelStyle | |
| size_t | GetPriority () const |
| double | GetSize () const |
| LabelStyle () | |
| LabelStyle & | SetPriority (size_t priority) |
| Public Member Functions inherited from osmscout::Style | |
| virtual void | SetBoolValue (int attribute, bool value) |
| virtual void | SetColorValue (int attribute, const Color &value) |
| virtual void | SetDoubleArrayValue (int attribute, const std::vector< double > &value) |
| virtual void | SetDoubleValue (int attribute, double value) |
| virtual void | SetIntValue (int attribute, int value) |
| virtual void | SetLabelValue (int attribute, const LabelProviderRef &value) |
| virtual void | SetMagnificationValue (int attribute, const Magnification &value) |
| virtual void | SetStringValue (int attribute, const std::string &value) |
| virtual void | SetSymbolValue (int attribute, const SymbolRef &value) |
| virtual void | SetUIntValue (int attribute, size_t value) |
| virtual | ~Style ()=default |
A shield or plate label (text placed on a plate).
| osmscout::ShieldStyle::ShieldStyle | ( | ) |
Referenced by CopyAttributes(), SetBgColor(), SetBorderColor(), SetLabel(), SetSize(), and SetTextColor().
| void osmscout::ShieldStyle::CopyAttributes | ( | const ShieldStyle & | other, |
| const std::set< Attribute > & | attributes ) |
|
inlineoverridevirtual |
Implements osmscout::LabelStyle.
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by IsVisible().
|
inlineoverridevirtual |
Implements osmscout::LabelStyle.
References osmscout::LabelStyle::GetSize(), and GetTextColor().
| ShieldStyle & osmscout::ShieldStyle::SetBgColor | ( | const Color & | color | ) |
References ShieldStyle().
| ShieldStyle & osmscout::ShieldStyle::SetBorderColor | ( | const Color & | color | ) |
References ShieldStyle().
| ShieldStyle & osmscout::ShieldStyle::SetLabel | ( | const LabelProviderRef & | label | ) |
References ShieldStyle().
|
overridevirtual |
Reimplemented from osmscout::LabelStyle.
References osmscout::LabelStyle::SetSize(), and ShieldStyle().
Referenced by CopyAttributes().
| ShieldStyle & osmscout::ShieldStyle::SetTextColor | ( | const Color & | color | ) |
References ShieldStyle().