QgsSimpleLineSymbolLayerV2 Class Reference

#include <qgslinesymbollayerv2.h>

Inheritance diagram for QgsSimpleLineSymbolLayerV2:

Inheritance graph
[legend]
Collaboration diagram for QgsSimpleLineSymbolLayerV2:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 QgsSimpleLineSymbolLayerV2 (QColor color=DEFAULT_SIMPLELINE_COLOR, double width=DEFAULT_SIMPLELINE_WIDTH, Qt::PenStyle penStyle=DEFAULT_SIMPLELINE_PENSTYLE)
QString layerType () const
void startRender (QgsSymbolV2RenderContext &context)
void stopRender (QgsSymbolV2RenderContext &context)
void renderPolyline (const QPolygonF &points, QgsSymbolV2RenderContext &context)
QgsStringMap properties () const
QgsSymbolLayerV2clone () const
Qt::PenStyle penStyle () const
void setPenStyle (Qt::PenStyle style)
Qt::PenJoinStyle penJoinStyle () const
void setPenJoinStyle (Qt::PenJoinStyle style)
Qt::PenCapStyle penCapStyle () const
void setPenCapStyle (Qt::PenCapStyle style)
double offset () const
void setOffset (double offset)
bool useCustomDashPattern () const
void setUseCustomDashPattern (bool b)
QVector< qreal > customDashVector () const
void setCustomDashVector (const QVector< qreal > &vector)

Static Public Member Functions

static QgsSymbolLayerV2create (const QgsStringMap &properties=QgsStringMap())

Protected Attributes

Qt::PenStyle mPenStyle
Qt::PenJoinStyle mPenJoinStyle
Qt::PenCapStyle mPenCapStyle
QPen mPen
QPen mSelPen
double mOffset
bool mUseCustomDashPattern
QVector< qreal > mCustomDashVector
 Vector with an even number of entries for the.


Detailed Description

Definition at line 17 of file qgslinesymbollayerv2.h.


Constructor & Destructor Documentation

QgsSimpleLineSymbolLayerV2::QgsSimpleLineSymbolLayerV2 ( QColor  color = DEFAULT_SIMPLELINE_COLOR,
double  width = DEFAULT_SIMPLELINE_WIDTH,
Qt::PenStyle  penStyle = DEFAULT_SIMPLELINE_PENSTYLE 
)

Definition at line 11 of file qgslinesymbollayerv2.cpp.

References QgsSymbolLayerV2::mColor, mCustomDashVector, and QgsLineSymbolLayerV2::mWidth.

Referenced by clone(), and create().


Member Function Documentation

QgsSymbolLayerV2 * QgsSimpleLineSymbolLayerV2::create ( const QgsStringMap properties = QgsStringMap()  )  [static]

QString QgsSimpleLineSymbolLayerV2::layerType (  )  const [virtual]

Implements QgsSymbolLayerV2.

Definition at line 54 of file qgslinesymbollayerv2.cpp.

void QgsSimpleLineSymbolLayerV2::startRender ( QgsSymbolV2RenderContext context  )  [virtual]

void QgsSimpleLineSymbolLayerV2::stopRender ( QgsSymbolV2RenderContext context  )  [virtual]

Implements QgsSymbolLayerV2.

Definition at line 93 of file qgslinesymbollayerv2.cpp.

void QgsSimpleLineSymbolLayerV2::renderPolyline ( const QPolygonF &  points,
QgsSymbolV2RenderContext context 
) [virtual]

QgsStringMap QgsSimpleLineSymbolLayerV2::properties (  )  const [virtual]

QgsSymbolLayerV2 * QgsSimpleLineSymbolLayerV2::clone (  )  const [virtual]

Qt::PenStyle QgsSimpleLineSymbolLayerV2::penStyle (  )  const [inline]

Definition at line 44 of file qgslinesymbollayerv2.h.

Referenced by create(), and QgsSymbologyV2Conversion::symbolV2toV1().

void QgsSimpleLineSymbolLayerV2::setPenStyle ( Qt::PenStyle  style  )  [inline]

Definition at line 45 of file qgslinesymbollayerv2.h.

Qt::PenJoinStyle QgsSimpleLineSymbolLayerV2::penJoinStyle (  )  const [inline]

Definition at line 47 of file qgslinesymbollayerv2.h.

void QgsSimpleLineSymbolLayerV2::setPenJoinStyle ( Qt::PenJoinStyle  style  )  [inline]

Definition at line 48 of file qgslinesymbollayerv2.h.

Referenced by clone(), and create().

Qt::PenCapStyle QgsSimpleLineSymbolLayerV2::penCapStyle (  )  const [inline]

Definition at line 50 of file qgslinesymbollayerv2.h.

void QgsSimpleLineSymbolLayerV2::setPenCapStyle ( Qt::PenCapStyle  style  )  [inline]

Definition at line 51 of file qgslinesymbollayerv2.h.

Referenced by clone(), and create().

double QgsSimpleLineSymbolLayerV2::offset (  )  const [inline]

Definition at line 53 of file qgslinesymbollayerv2.h.

void QgsSimpleLineSymbolLayerV2::setOffset ( double  offset  )  [inline]

Definition at line 54 of file qgslinesymbollayerv2.h.

Referenced by clone(), and create().

bool QgsSimpleLineSymbolLayerV2::useCustomDashPattern (  )  const [inline]

Definition at line 56 of file qgslinesymbollayerv2.h.

void QgsSimpleLineSymbolLayerV2::setUseCustomDashPattern ( bool  b  )  [inline]

Definition at line 57 of file qgslinesymbollayerv2.h.

Referenced by clone(), and create().

QVector<qreal> QgsSimpleLineSymbolLayerV2::customDashVector (  )  const [inline]

Definition at line 59 of file qgslinesymbollayerv2.h.

void QgsSimpleLineSymbolLayerV2::setCustomDashVector ( const QVector< qreal > &  vector  )  [inline]

Definition at line 60 of file qgslinesymbollayerv2.h.

Referenced by clone(), and create().


Member Data Documentation

Qt::PenStyle QgsSimpleLineSymbolLayerV2::mPenStyle [protected]

Definition at line 63 of file qgslinesymbollayerv2.h.

Referenced by clone(), properties(), and startRender().

Qt::PenJoinStyle QgsSimpleLineSymbolLayerV2::mPenJoinStyle [protected]

Definition at line 64 of file qgslinesymbollayerv2.h.

Referenced by clone(), properties(), and startRender().

Qt::PenCapStyle QgsSimpleLineSymbolLayerV2::mPenCapStyle [protected]

Definition at line 65 of file qgslinesymbollayerv2.h.

Referenced by clone(), properties(), and startRender().

Definition at line 66 of file qgslinesymbollayerv2.h.

Referenced by renderPolyline(), and startRender().

Definition at line 67 of file qgslinesymbollayerv2.h.

Referenced by renderPolyline(), and startRender().

Definition at line 68 of file qgslinesymbollayerv2.h.

Referenced by clone(), properties(), and renderPolyline().

Definition at line 70 of file qgslinesymbollayerv2.h.

Referenced by clone(), properties(), and startRender().

Vector with an even number of entries for the.

Definition at line 72 of file qgslinesymbollayerv2.h.

Referenced by clone(), properties(), QgsSimpleLineSymbolLayerV2(), and startRender().


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

Generated on Sat Feb 4 19:17:52 2012 for Quantum GIS API Documentation by  doxygen 1.5.6