Public Member Functions |
| QgsSimpleLineSymbolLayerV2 (QColor color=DEFAULT_SIMPLELINE_COLOR, double width=DEFAULT_SIMPLELINE_WIDTH, Qt::PenStyle penStyle=DEFAULT_SIMPLELINE_PENSTYLE) |
QString | layerType () const |
void | startRender (QgsSymbolV2RenderContext &context) |
void | stopRender (QgsSymbolV2RenderContext &context) |
void | renderPolyline (const QPolygonF &points, QgsSymbolV2RenderContext &context) |
void | renderPolygonOutline (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 |
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.
|
Qt::PenStyle | penStyle () const |
void | setPenStyle (Qt::PenStyle style) |
Qt::PenJoinStyle | penJoinStyle () const |
void | setPenJoinStyle (Qt::PenJoinStyle style) |
Qt::PenCapStyle | penCapStyle () const |
void | setPenCapStyle (Qt::PenCapStyle style) |
double | offset () const |
void | setOffset (double offset) |
void | setOffsetUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | offsetUnit () const |
void | setOffsetMapUnitScale (const QgsMapUnitScale &scale) |
const QgsMapUnitScale & | offsetMapUnitScale () const |
bool | useCustomDashPattern () const |
void | setUseCustomDashPattern (bool b) |
void | setCustomDashPatternUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | customDashPatternUnit () const |
const QgsMapUnitScale & | customDashPatternMapUnitScale () const |
void | setCustomDashPatternMapUnitScale (const QgsMapUnitScale &scale) |
QVector< qreal > | customDashVector () const |
void | setCustomDashVector (const QVector< qreal > &vector) |
bool | drawInsidePolygon () const |
void | setDrawInsidePolygon (bool drawInsidePolygon) |
QVector< qreal > | dxfCustomDashPattern (QgsSymbolV2::OutputUnit &unit) const |
Qt::PenStyle | dxfPenStyle () const |
double | dxfWidth (const QgsDxfExport &e, const QgsSymbolV2RenderContext &context) const |
QColor | dxfColor (const QgsSymbolV2RenderContext &context) const |
virtual void | setWidth (double width) |
virtual double | width () const |
void | setWidthUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | widthUnit () const |
void | setWidthMapUnitScale (const QgsMapUnitScale &scale) |
const QgsMapUnitScale & | widthMapUnitScale () const |
void | drawPreviewIcon (QgsSymbolV2RenderContext &context, QSize size) |
virtual QColor | color () const |
virtual void | setColor (const QColor &color) |
virtual void | setOutlineColor (const QColor &color) |
| Set outline color.
|
virtual QColor | outlineColor () const |
| Get outline color.
|
virtual void | setFillColor (const QColor &color) |
| Set fill color.
|
virtual QColor | fillColor () const |
| Get fill 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 QColor | dxfBrushColor (const QgsSymbolV2RenderContext &context) const |
virtual Qt::BrushStyle | dxfBrushStyle () const |
double QgsSimpleLineSymbolLayerV2::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.