Quantum GIS API Documentation  1.8
Public Member Functions | Static Public Member Functions | Protected Attributes
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
void toSld (QDomDocument &doc, QDomElement &element, QgsStringMap props) 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())
static QgsSymbolLayerV2createFromSld (QDomElement &element)

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 30 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 30 of file qgsfillsymbollayerv2.cpp.

References QgsSymbolLayerV2::color(), and QgsSymbolLayerV2::mColor.

Referenced by clone(), create(), and createFromSld().


Member Function Documentation

QColor QgsSimpleFillSymbolLayerV2::borderColor ( void  ) const [inline]
Qt::PenStyle QgsSimpleFillSymbolLayerV2::borderStyle ( void  ) const [inline]
double QgsSimpleFillSymbolLayerV2::borderWidth ( void  ) const [inline]
Qt::BrushStyle QgsSimpleFillSymbolLayerV2::brushStyle ( ) const [inline]

Definition at line 60 of file qgsfillsymbollayerv2.h.

Referenced by QgsSymbologyV2Conversion::symbolV2toV1().

QgsSymbolLayerV2 * QgsSimpleFillSymbolLayerV2::createFromSld ( QDomElement &  element) [static]
QString QgsSimpleFillSymbolLayerV2::layerType ( ) const [virtual]

Implements QgsSymbolLayerV2.

Definition at line 65 of file qgsfillsymbollayerv2.cpp.

QPointF QgsSimpleFillSymbolLayerV2::offset ( ) [inline]

Definition at line 73 of file qgsfillsymbollayerv2.h.

Referenced by create(), and createFromSld().

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

Definition at line 64 of file qgsfillsymbollayerv2.h.

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

Definition at line 67 of file qgsfillsymbollayerv2.h.

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

Definition at line 70 of file qgsfillsymbollayerv2.h.

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

Definition at line 61 of file qgsfillsymbollayerv2.h.

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

Definition at line 72 of file qgsfillsymbollayerv2.h.

Referenced by clone(), create(), and createFromSld().

Implements QgsSymbolLayerV2.

Definition at line 93 of file qgsfillsymbollayerv2.cpp.

void QgsSimpleFillSymbolLayerV2::toSld ( QDomDocument &  doc,
QDomElement &  element,
QgsStringMap  props 
) const [virtual]

Member Data Documentation

Definition at line 79 of file qgsfillsymbollayerv2.h.

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

Qt::PenStyle QgsSimpleFillSymbolLayerV2::mBorderStyle [protected]

Definition at line 80 of file qgsfillsymbollayerv2.h.

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

Definition at line 81 of file qgsfillsymbollayerv2.h.

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

Definition at line 76 of file qgsfillsymbollayerv2.h.

Referenced by renderPolygon(), and startRender().

Qt::BrushStyle QgsSimpleFillSymbolLayerV2::mBrushStyle [protected]

Definition at line 78 of file qgsfillsymbollayerv2.h.

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

Definition at line 84 of file qgsfillsymbollayerv2.h.

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

Definition at line 82 of file qgsfillsymbollayerv2.h.

Referenced by renderPolygon(), and startRender().

Definition at line 77 of file qgsfillsymbollayerv2.h.

Referenced by renderPolygon(), and startRender().


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