Quantum GIS API Documentation  1.8
Public Member Functions | Static Public Member Functions
QgsLineSymbolV2 Class Reference

#include <qgssymbolv2.h>

Inheritance diagram for QgsLineSymbolV2:
Inheritance graph
Collaboration diagram for QgsLineSymbolV2:
Collaboration graph

List of all members.

Public Member Functions

 QgsLineSymbolV2 (QgsSymbolLayerV2List layers=QgsSymbolLayerV2List())
void setWidth (double width)
double width ()
void renderPolyline (const QPolygonF &points, const QgsFeature *f, QgsRenderContext &context, int layer=-1, bool selected=false)
virtual QgsSymbolV2clone () const

Static Public Member Functions

static QgsLineSymbolV2createSimple (const QgsStringMap &properties)
 Create a line symbol with one symbol layer: SimpleLine with specified properties.

Detailed Description

Definition at line 229 of file qgssymbolv2.h.

Constructor & Destructor Documentation

Definition at line 476 of file qgssymbolv2.cpp.

References QgsSymbolV2::mLayers.

Referenced by clone(), and createSimple().

Member Function Documentation

QgsSymbolV2 * QgsLineSymbolV2::clone ( ) const [virtual]
QgsLineSymbolV2 * QgsLineSymbolV2::createSimple ( const QgsStringMap properties) [static]

Create a line symbol with one symbol layer: SimpleLine with specified properties.

This is a convenience method for easier creation of line symbols.

added in v1.7

Definition at line 362 of file qgssymbolv2.cpp.

References QgsSimpleLineSymbolLayerV2::create(), and QgsLineSymbolV2().

void QgsLineSymbolV2::renderPolyline ( const QPolygonF &  points,
const QgsFeature f,
QgsRenderContext context,
int  layer = -1,
bool  selected = false 
void QgsLineSymbolV2::setWidth ( double  width)

Definition at line 503 of file qgssymbolv2.cpp.

References QgsSymbolV2::mLayers, and QgsLineSymbolLayerV2::width().

Referenced by setWidth().

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines