QGIS API Documentation  master-6164ace
QgsLineSymbolV2 Class Reference

#include <qgssymbolv2.h>

+ Inheritance diagram for QgsLineSymbolV2:
+ Collaboration diagram for QgsLineSymbolV2:

List of all members.

Public Member Functions

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

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 233 of file qgssymbolv2.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Note:
added in v1.7

Definition at line 423 of file qgssymbolv2.cpp.

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

Referenced by QgsComposerMap::createDefaultGridLineSymbol(), and QgsComposerMap::readXML().


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