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, Qt::PenJoinStyle penJoinStyle=DEFAULT_SIMPLEFILL_JOINSTYLE) |
QString | layerType () const |
void | startRender (QgsSymbolV2RenderContext &context) |
void | stopRender (QgsSymbolV2RenderContext &context) |
void | renderPolygon (const QPolygonF &points, QList< QPolygonF > *rings, QgsSymbolV2RenderContext &context) |
QgsStringMap | properties () const |
QgsSymbolLayerV2 * | clone () const |
void | toSld (QDomDocument &doc, QDomElement &element, QgsStringMap props) const |
QString | ogrFeatureStyle (double mmScaleFactor, double mapUnitScaleFactor) const |
Qt::BrushStyle | brushStyle () const |
void | setBrushStyle (Qt::BrushStyle style) |
QColor | borderColor () const |
void | setBorderColor (QColor borderColor) |
QColor | outlineColor () const |
| Get outline color.
|
void | setOutlineColor (const QColor &color) |
| Set outline color.
|
QColor | fillColor () const |
| Get fill color.
|
void | setFillColor (const QColor &color) |
| Set fill color.
|
Qt::PenStyle | borderStyle () const |
void | setBorderStyle (Qt::PenStyle borderStyle) |
double | borderWidth () const |
void | setBorderWidth (double borderWidth) |
Qt::PenJoinStyle | penJoinStyle () const |
void | setPenJoinStyle (Qt::PenJoinStyle style) |
void | setOffset (QPointF offset) |
QPointF | offset () |
void | setBorderWidthUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | borderWidthUnit () const |
void | setBorderWidthMapUnitScale (const QgsMapUnitScale &scale) |
const QgsMapUnitScale & | borderWidthMapUnitScale () const |
void | setOffsetUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | offsetUnit () const |
void | setOffsetMapUnitScale (const QgsMapUnitScale &scale) |
const QgsMapUnitScale & | offsetMapUnitScale () const |
void | setOutputUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | outputUnit () const |
void | setMapUnitScale (const QgsMapUnitScale &scale) |
QgsMapUnitScale | mapUnitScale () const |
double | estimateMaxBleed () const |
| Returns the estimated maximum distance which the layer style will bleed outside the drawn shape.
|
double | dxfWidth (const QgsDxfExport &e, const QgsSymbolV2RenderContext &context) const |
QColor | dxfColor (const QgsSymbolV2RenderContext &context) const |
Qt::PenStyle | dxfPenStyle () const |
QColor | dxfBrushColor (const QgsSymbolV2RenderContext &context) const |
Qt::BrushStyle | dxfBrushStyle () const |
void | drawPreviewIcon (QgsSymbolV2RenderContext &context, QSize size) |
void | setAngle (double angle) |
double | angle () const |
virtual QColor | color () const |
virtual void | setColor (const QColor &color) |
virtual | ~QgsSymbolLayerV2 () |
virtual QgsSymbolV2 * | subSymbol () |
virtual bool | setSubSymbol (QgsSymbolV2 *symbol) |
QgsSymbolV2::SymbolType | type () const |
void | setLocked (bool locked) |
bool | isLocked () const |
void | setRenderingPass (int renderingPass) |
int | renderingPass () const |
virtual QSet< QString > | usedAttributes () const |
virtual const QgsExpression * | dataDefinedProperty (const QString &property) const |
virtual QString | dataDefinedPropertyString (const QString &property) const |
virtual void | setDataDefinedProperty (const QString &property, const QString &expressionString) |
virtual void | removeDataDefinedProperty (const QString &property) |
virtual void | removeDataDefinedProperties () |
bool | hasDataDefinedProperties () const |
virtual bool | writeDxf (QgsDxfExport &e, double mmMapUnitScaleFactor, const QString &layerName, const QgsSymbolV2RenderContext *context, const QgsFeature *f, const QPointF &shift=QPointF(0.0, 0.0)) const |
virtual QVector< qreal > | dxfCustomDashPattern (QgsSymbolV2::OutputUnit &unit) const |
double QgsSimpleFillSymbolLayerV2::estimateMaxBleed |
( |
| ) |
const |
|
virtual |
Returns the estimated maximum distance which the layer style will bleed outside the drawn shape.
Eg, polygons drawn with an outline will draw half the width of the outline outside of the polygon. This amount is estimated, since it may be affected by data defined symbology rules.
Reimplemented from QgsSymbolLayerV2.