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

#include <qgssymbolv2.h>

Inheritance diagram for QgsFillSymbolV2:
Inheritance graph
Collaboration diagram for QgsFillSymbolV2:
Collaboration graph

List of all members.

Public Member Functions

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

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

Constructor & Destructor Documentation

Definition at line 545 of file qgssymbolv2.cpp.

References QgsSymbolV2::mLayers.

Referenced by clone(), and createSimple().

Member Function Documentation

QgsSymbolV2 * QgsFillSymbolV2::clone ( ) const [virtual]
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.

added in v1.7

Definition at line 373 of file qgssymbolv2.cpp.

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

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

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