QGIS API Documentation  master-3f58142
QgsMarkerSymbolV2 Class Reference

#include <qgssymbolv2.h>

+ Inheritance diagram for QgsMarkerSymbolV2:
+ Collaboration diagram for QgsMarkerSymbolV2:

List of all members.

Public Member Functions

 QgsMarkerSymbolV2 (QgsSymbolLayerV2List layers=QgsSymbolLayerV2List())
double angle ()
virtual QgsSymbolV2clone () const
void renderPoint (const QPointF &point, const QgsFeature *f, QgsRenderContext &context, int layer=-1, bool selected=false)
ScaleMethod scaleMethod ()
void setAngle (double angle)
void setScaleMethod (QgsSymbolV2::ScaleMethod scaleMethod)
void setSize (double size)
double size ()

Static Public Member Functions

static QgsMarkerSymbolV2createSimple (const QgsStringMap &properties)
 Create a marker symbol with one symbol layer: SimpleMarker with specified properties.

Detailed Description

Definition at line 206 of file qgssymbolv2.h.


Constructor & Destructor Documentation


Member Function Documentation

Create a marker symbol with one symbol layer: SimpleMarker with specified properties.

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

Note:
added in v1.7

Definition at line 412 of file qgssymbolv2.cpp.

References QgsSimpleMarkerSymbolLayerV2::create(), and QgsMarkerSymbolV2().


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