Quantum GIS API Documentation  master-ce49b66
QgsFillSymbolV2 Class Reference

#include <qgssymbolv2.h>

+ Inheritance diagram for QgsFillSymbolV2:
+ Collaboration diagram for QgsFillSymbolV2:

List of all members.

Public Member Functions

 QgsFillSymbolV2 (QgsSymbolLayerV2List layers=QgsSymbolLayerV2List())
virtual QgsSymbolV2clone () const
void renderPolygon (const QPolygonF &points, QList< QPolygonF > *rings, const QgsFeature *f, QgsRenderContext &context, int layer=-1, bool selected=false)
void setAngle (double angle)

Static Public Member Functions

static QgsFillSymbolV2createSimple (const QgsStringMap &properties)
 Create a fill symbol with one symbol layer: SimpleFill with specified properties.

Detailed Description

Definition at line 254 of file qgssymbolv2.h.


Constructor & Destructor Documentation


Member Function Documentation

QgsFillSymbolV2 * QgsFillSymbolV2::createSimple ( const QgsStringMap properties) [static]

Create a fill symbol with one symbol layer: SimpleFill with specified properties.

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

Note:
added in v1.7

Definition at line 434 of file qgssymbolv2.cpp.

References QgsSimpleFillSymbolLayerV2::create(), and QgsFillSymbolV2().

Referenced by QgsComposerMap::createDefaultOverviewFrameSymbol().

void QgsFillSymbolV2::renderPolygon ( const QPolygonF &  points,
QList< QPolygonF > *  rings,
const QgsFeature f,
QgsRenderContext context,
int  layer = -1,
bool  selected = false 
)

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