marble/src
Marble::GeoDataLineStyle Class Reference
specifies the style how lines are drawn More...
#include <GeoDataLineStyle.h>

Public Member Functions | |
| GeoDataLineStyle (const QColor &color) | |
| GeoDataLineStyle () | |
| virtual void | pack (QDataStream &stream) const |
| void | setWidth (const float &width) |
| virtual void | unpack (QDataStream &stream) |
| float | width () const |
| ~GeoDataLineStyle () | |
Detailed Description
specifies the style how lines are drawnA GeoDataLineStyle specifies how the name of a GeoDataFeature is drawn in the viewer. A custom color, color mode (both inherited from GeoDataColorStyle) and width for the width of the line.
Definition at line 35 of file GeoDataLineStyle.h.
Constructor & Destructor Documentation
| Marble::GeoDataLineStyle::GeoDataLineStyle | ( | ) |
| Marble::GeoDataLineStyle::GeoDataLineStyle | ( | const QColor & | color | ) | [explicit] |
Construct a new GeoDataLineStyle.
- Parameters:
-
color the color to use when showing the name
- See also:
- GeoDataColorStyle
Definition at line 37 of file GeoDataLineStyle.cpp.
| Marble::GeoDataLineStyle::~GeoDataLineStyle | ( | ) |
Definition at line 43 of file GeoDataLineStyle.cpp.
Member Function Documentation
| void Marble::GeoDataLineStyle::pack | ( | QDataStream & | stream | ) | const [virtual] |
Serialize the style to a stream.
- Parameters:
-
stream the stream
Reimplemented from Marble::GeoDataColorStyle.
Definition at line 58 of file GeoDataLineStyle.cpp.
| void Marble::GeoDataLineStyle::setWidth | ( | const float & | width | ) |
Set the width of the line.
- Parameters:
-
width the new width
Definition at line 48 of file GeoDataLineStyle.cpp.
| void Marble::GeoDataLineStyle::unpack | ( | QDataStream & | stream | ) | [virtual] |
Unserialize the style from a stream.
- Parameters:
-
stream the stream
Reimplemented from Marble::GeoDataColorStyle.
Definition at line 65 of file GeoDataLineStyle.cpp.
| float Marble::GeoDataLineStyle::width | ( | ) | const |
Return the current width of the line.
- Returns:
- the current width
Definition at line 53 of file GeoDataLineStyle.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference