QgsSimpleFillSymbolLayerV2 Class Reference

#include <qgsfillsymbollayerv2.h>

Inheritance diagram for QgsSimpleFillSymbolLayerV2:

Inheritance graph
[legend]
Collaboration diagram for QgsSimpleFillSymbolLayerV2:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 QgsSimpleFillSymbolLayerV2 (QColor color=DEFAULT_SIMPLEFILL_COLOR, Qt::BrushStyle style=DEFAULT_SIMPLEFILL_STYLE, QColor borderColor=DEFAULT_SIMPLEFILL_BORDERCOLOR, Qt::PenStyle borderStyle=DEFAULT_SIMPLEFILL_BORDERSTYLE, double borderWidth=DEFAULT_SIMPLEFILL_BORDERWIDTH)
QString layerType () const
void startRender (QgsSymbolV2RenderContext &context)
void stopRender (QgsSymbolV2RenderContext &context)
void renderPolygon (const QPolygonF &points, QList< QPolygonF > *rings, QgsSymbolV2RenderContext &context)
QgsStringMap properties () const
QgsSymbolLayerV2clone () const
Qt::BrushStyle brushStyle () const
void setBrushStyle (Qt::BrushStyle style)
QColor borderColor () const
void setBorderColor (QColor borderColor)
Qt::PenStyle borderStyle () const
void setBorderStyle (Qt::PenStyle borderStyle)
double borderWidth () const
void setBorderWidth (double borderWidth)
void setOffset (QPointF offset)
QPointF offset ()

Static Public Member Functions

static QgsSymbolLayerV2create (const QgsStringMap &properties=QgsStringMap())

Protected Attributes

QBrush mBrush
QBrush mSelBrush
Qt::BrushStyle mBrushStyle
QColor mBorderColor
Qt::PenStyle mBorderStyle
double mBorderWidth
QPen mPen
QPointF mOffset


Detailed Description

Definition at line 16 of file qgsfillsymbollayerv2.h.


Constructor & Destructor Documentation

QgsSimpleFillSymbolLayerV2::QgsSimpleFillSymbolLayerV2 ( QColor  color = DEFAULT_SIMPLEFILL_COLOR,
Qt::BrushStyle  style = DEFAULT_SIMPLEFILL_STYLE,
QColor  borderColor = DEFAULT_SIMPLEFILL_BORDERCOLOR,
Qt::PenStyle  borderStyle = DEFAULT_SIMPLEFILL_BORDERSTYLE,
double  borderWidth = DEFAULT_SIMPLEFILL_BORDERWIDTH 
)

Definition at line 12 of file qgsfillsymbollayerv2.cpp.

References QgsSymbolLayerV2::mColor.

Referenced by clone(), and create().


Member Function Documentation

QgsSymbolLayerV2 * QgsSimpleFillSymbolLayerV2::create ( const QgsStringMap properties = QgsStringMap()  )  [static]

QString QgsSimpleFillSymbolLayerV2::layerType (  )  const [virtual]

Implements QgsSymbolLayerV2.

Definition at line 47 of file qgsfillsymbollayerv2.cpp.

void QgsSimpleFillSymbolLayerV2::startRender ( QgsSymbolV2RenderContext context  )  [virtual]

void QgsSimpleFillSymbolLayerV2::stopRender ( QgsSymbolV2RenderContext context  )  [virtual]

Implements QgsSymbolLayerV2.

Definition at line 74 of file qgsfillsymbollayerv2.cpp.

void QgsSimpleFillSymbolLayerV2::renderPolygon ( const QPolygonF &  points,
QList< QPolygonF > *  rings,
QgsSymbolV2RenderContext context 
) [virtual]

QgsStringMap QgsSimpleFillSymbolLayerV2::properties (  )  const [virtual]

QgsSymbolLayerV2 * QgsSimpleFillSymbolLayerV2::clone (  )  const [virtual]

Qt::BrushStyle QgsSimpleFillSymbolLayerV2::brushStyle (  )  const [inline]

Definition at line 43 of file qgsfillsymbollayerv2.h.

Referenced by QgsSymbologyV2Conversion::symbolV2toV1().

void QgsSimpleFillSymbolLayerV2::setBrushStyle ( Qt::BrushStyle  style  )  [inline]

Definition at line 44 of file qgsfillsymbollayerv2.h.

QColor QgsSimpleFillSymbolLayerV2::borderColor ( void   )  const [inline]

Definition at line 46 of file qgsfillsymbollayerv2.h.

Referenced by create(), and QgsSymbologyV2Conversion::symbolV2toV1().

void QgsSimpleFillSymbolLayerV2::setBorderColor ( QColor  borderColor  )  [inline]

Definition at line 47 of file qgsfillsymbollayerv2.h.

Qt::PenStyle QgsSimpleFillSymbolLayerV2::borderStyle ( void   )  const [inline]

Definition at line 49 of file qgsfillsymbollayerv2.h.

Referenced by create(), and QgsSymbologyV2Conversion::symbolV2toV1().

void QgsSimpleFillSymbolLayerV2::setBorderStyle ( Qt::PenStyle  borderStyle  )  [inline]

Definition at line 50 of file qgsfillsymbollayerv2.h.

double QgsSimpleFillSymbolLayerV2::borderWidth ( void   )  const [inline]

Definition at line 52 of file qgsfillsymbollayerv2.h.

Referenced by create(), and QgsSymbologyV2Conversion::symbolV2toV1().

void QgsSimpleFillSymbolLayerV2::setBorderWidth ( double  borderWidth  )  [inline]

Definition at line 53 of file qgsfillsymbollayerv2.h.

void QgsSimpleFillSymbolLayerV2::setOffset ( QPointF  offset  )  [inline]

Definition at line 55 of file qgsfillsymbollayerv2.h.

Referenced by clone(), and create().

QPointF QgsSimpleFillSymbolLayerV2::offset (  )  [inline]

Definition at line 56 of file qgsfillsymbollayerv2.h.

Referenced by create().


Member Data Documentation

Definition at line 59 of file qgsfillsymbollayerv2.h.

Referenced by renderPolygon(), and startRender().

Definition at line 60 of file qgsfillsymbollayerv2.h.

Referenced by renderPolygon(), and startRender().

Qt::BrushStyle QgsSimpleFillSymbolLayerV2::mBrushStyle [protected]

Definition at line 61 of file qgsfillsymbollayerv2.h.

Referenced by clone(), properties(), and startRender().

Definition at line 62 of file qgsfillsymbollayerv2.h.

Referenced by clone(), properties(), and startRender().

Qt::PenStyle QgsSimpleFillSymbolLayerV2::mBorderStyle [protected]

Definition at line 63 of file qgsfillsymbollayerv2.h.

Referenced by clone(), properties(), and startRender().

Definition at line 64 of file qgsfillsymbollayerv2.h.

Referenced by clone(), properties(), and startRender().

Definition at line 65 of file qgsfillsymbollayerv2.h.

Referenced by renderPolygon(), and startRender().

Definition at line 67 of file qgsfillsymbollayerv2.h.

Referenced by clone(), properties(), and renderPolygon().


The documentation for this class was generated from the following files:

Generated on Sat Feb 4 19:17:51 2012 for Quantum GIS API Documentation by  doxygen 1.5.6