#include <libosmscout-map/include/osmscout/Styles.h>
|
| enum | CapStyle { capButt,
capRound,
capSquare
} |
| |
| enum | Attribute {
attrLineColor,
attrGapColor,
attrPreferColorFeature,
attrDisplayWidth,
attrWidth,
attrDisplayOffset,
attrOffset,
attrJoinCap,
attrEndCap,
attrDashes,
attrPriority,
attrZIndex,
attrOffsetRel
} |
| |
|
| | LineStyle () |
| |
| | LineStyle (const LineStyle &style) |
| |
| void | SetColorValue (int attribute, const Color &value) override |
| |
| void | SetDoubleValue (int attribute, double value) override |
| |
| void | SetDoubleArrayValue (int attribute, const std::vector< double > &value) override |
| |
| void | SetIntValue (int attribute, int value) override |
| |
| void | SetBoolValue (int attribute, bool value) override |
| |
| LineStyle & | SetSlot (const std::string &slot) |
| |
| LineStyle & | SetLineColor (const Color &color) |
| |
| LineStyle & | SetGapColor (const Color &color) |
| |
| LineStyle & | SetPreferColorFeature (bool value) |
| |
| LineStyle & | SetDisplayWidth (double value) |
| |
| LineStyle & | SetWidth (double value) |
| |
| LineStyle & | SetDisplayOffset (double value) |
| |
| LineStyle & | SetOffset (double value) |
| |
| LineStyle & | SetJoinCap (CapStyle joinCap) |
| |
| LineStyle & | SetEndCap (CapStyle endCap) |
| |
| LineStyle & | SetDashes (const std::vector< double > &dashes) |
| |
| LineStyle & | SetPriority (int priority) |
| |
| LineStyle & | SetZIndex (int zIndex) |
| |
| LineStyle & | SetOffsetRel (OffsetRel offsetRel) |
| |
| bool | IsVisible () const |
| |
| const std::string & | GetSlot () const |
| |
| const Color & | GetLineColor () const |
| |
| const Color & | GetGapColor () const |
| |
| bool | GetPreferColorFeature () const |
| |
| double | GetDisplayWidth () const |
| |
| double | GetWidth () const |
| |
| double | GetDisplayOffset () const |
| |
| double | GetOffset () const |
| |
| CapStyle | GetJoinCap () const |
| |
| CapStyle | GetEndCap () const |
| |
| bool | HasDashes () const |
| |
| const std::vector< double > & | GetDash () const |
| |
| int | GetPriority () const |
| |
| int | GetZIndex () const |
| |
| OffsetRel | GetOffsetRel () const |
| |
| void | CopyAttributes (const LineStyle &other, const std::set< Attribute > &attributes) |
| |
| bool | operator== (const LineStyle &other) const |
| |
| bool | operator!= (const LineStyle &other) const |
| |
| bool | operator< (const LineStyle &other) const |
| |
| virtual | ~Style ()=default |
| |
| virtual void | SetStringValue (int attribute, const std::string &value) |
| |
| virtual void | SetMagnificationValue (int attribute, const Magnification &value) |
| |
| virtual void | SetSymbolValue (int attribute, const SymbolRef &value) |
| |
| virtual void | SetUIntValue (int attribute, size_t value) |
| |
| virtual void | SetLabelValue (int attribute, const LabelProviderRef &value) |
| |
Style options for a line.
◆ Attribute
| Enumerator |
|---|
| attrLineColor | |
| attrGapColor | |
| attrPreferColorFeature | |
| attrDisplayWidth | |
| attrWidth | |
| attrDisplayOffset | |
| attrOffset | |
| attrJoinCap | |
| attrEndCap | |
| attrDashes | |
| attrPriority | |
| attrZIndex | |
| attrOffsetRel | |
◆ CapStyle
| Enumerator |
|---|
| capButt | |
| capRound | |
| capSquare | |
◆ LineStyle() [1/2]
| osmscout::LineStyle::LineStyle |
( |
| ) |
|
◆ LineStyle() [2/2]
| osmscout::LineStyle::LineStyle |
( |
const LineStyle & |
style | ) |
|
◆ CopyAttributes()
| void osmscout::LineStyle::CopyAttributes |
( |
const LineStyle & |
other, |
|
|
const std::set< Attribute > & |
attributes |
|
) |
| |
◆ GetDash()
| const std::vector<double>& osmscout::LineStyle::GetDash |
( |
| ) |
const |
|
inline |
◆ GetDescriptor()
◆ GetDisplayOffset()
| double osmscout::LineStyle::GetDisplayOffset |
( |
| ) |
const |
|
inline |
◆ GetDisplayWidth()
| double osmscout::LineStyle::GetDisplayWidth |
( |
| ) |
const |
|
inline |
◆ GetEndCap()
| CapStyle osmscout::LineStyle::GetEndCap |
( |
| ) |
const |
|
inline |
◆ GetGapColor()
| const Color& osmscout::LineStyle::GetGapColor |
( |
| ) |
const |
|
inline |
◆ GetJoinCap()
| CapStyle osmscout::LineStyle::GetJoinCap |
( |
| ) |
const |
|
inline |
◆ GetLineColor()
| const Color& osmscout::LineStyle::GetLineColor |
( |
| ) |
const |
|
inline |
◆ GetOffset()
| double osmscout::LineStyle::GetOffset |
( |
| ) |
const |
|
inline |
◆ GetOffsetRel()
| OffsetRel osmscout::LineStyle::GetOffsetRel |
( |
| ) |
const |
|
inline |
◆ GetPreferColorFeature()
| bool osmscout::LineStyle::GetPreferColorFeature |
( |
| ) |
const |
|
inline |
◆ GetPriority()
| int osmscout::LineStyle::GetPriority |
( |
| ) |
const |
|
inline |
◆ GetSlot()
| const std::string& osmscout::LineStyle::GetSlot |
( |
| ) |
const |
|
inline |
◆ GetWidth()
| double osmscout::LineStyle::GetWidth |
( |
| ) |
const |
|
inline |
◆ GetZIndex()
| int osmscout::LineStyle::GetZIndex |
( |
| ) |
const |
|
inline |
◆ HasDashes()
| bool osmscout::LineStyle::HasDashes |
( |
| ) |
const |
|
inline |
◆ IsVisible()
| bool osmscout::LineStyle::IsVisible |
( |
| ) |
const |
|
inline |
◆ operator!=()
| bool osmscout::LineStyle::operator!= |
( |
const LineStyle & |
other | ) |
const |
◆ operator<()
| bool osmscout::LineStyle::operator< |
( |
const LineStyle & |
other | ) |
const |
◆ operator==()
| bool osmscout::LineStyle::operator== |
( |
const LineStyle & |
other | ) |
const |
◆ SetBoolValue()
| void osmscout::LineStyle::SetBoolValue |
( |
int |
attribute, |
|
|
bool |
value |
|
) |
| |
|
overridevirtual |
◆ SetColorValue()
| void osmscout::LineStyle::SetColorValue |
( |
int |
attribute, |
|
|
const Color & |
value |
|
) |
| |
|
overridevirtual |
◆ SetDashes()
| LineStyle& osmscout::LineStyle::SetDashes |
( |
const std::vector< double > & |
dashes | ) |
|
◆ SetDisplayOffset()
| LineStyle& osmscout::LineStyle::SetDisplayOffset |
( |
double |
value | ) |
|
◆ SetDisplayWidth()
| LineStyle& osmscout::LineStyle::SetDisplayWidth |
( |
double |
value | ) |
|
◆ SetDoubleArrayValue()
| void osmscout::LineStyle::SetDoubleArrayValue |
( |
int |
attribute, |
|
|
const std::vector< double > & |
value |
|
) |
| |
|
overridevirtual |
◆ SetDoubleValue()
| void osmscout::LineStyle::SetDoubleValue |
( |
int |
attribute, |
|
|
double |
value |
|
) |
| |
|
overridevirtual |
◆ SetEndCap()
◆ SetGapColor()
| LineStyle& osmscout::LineStyle::SetGapColor |
( |
const Color & |
color | ) |
|
◆ SetIntValue()
| void osmscout::LineStyle::SetIntValue |
( |
int |
attribute, |
|
|
int |
value |
|
) |
| |
|
overridevirtual |
◆ SetJoinCap()
◆ SetLineColor()
| LineStyle& osmscout::LineStyle::SetLineColor |
( |
const Color & |
color | ) |
|
◆ SetOffset()
| LineStyle& osmscout::LineStyle::SetOffset |
( |
double |
value | ) |
|
◆ SetOffsetRel()
◆ SetPreferColorFeature()
| LineStyle& osmscout::LineStyle::SetPreferColorFeature |
( |
bool |
value | ) |
|
◆ SetPriority()
| LineStyle& osmscout::LineStyle::SetPriority |
( |
int |
priority | ) |
|
◆ SetSlot()
| LineStyle& osmscout::LineStyle::SetSlot |
( |
const std::string & |
slot | ) |
|
◆ SetWidth()
| LineStyle& osmscout::LineStyle::SetWidth |
( |
double |
value | ) |
|
◆ SetZIndex()
| LineStyle& osmscout::LineStyle::SetZIndex |
( |
int |
zIndex | ) |
|
The documentation for this class was generated from the following file:
- libosmscout-map/include/osmscout/Styles.h