A symbol layer class for displaying displacement arrows based on point layer attributes.
More...
Public Member Functions |
| QgsVectorFieldSymbolLayer () |
| ~QgsVectorFieldSymbolLayer () |
QString | layerType () const |
bool | setSubSymbol (QgsSymbolV2 *symbol) |
QgsSymbolV2 * | subSymbol () |
void | renderPoint (const QPointF &point, QgsSymbolV2RenderContext &context) |
void | startRender (QgsSymbolV2RenderContext &context) |
void | stopRender (QgsSymbolV2RenderContext &context) |
QgsSymbolLayerV2 * | clone () const |
QgsStringMap | properties () const |
void | toSld (QDomDocument &doc, QDomElement &element, QgsStringMap props) const |
void | drawPreviewIcon (QgsSymbolV2RenderContext &context, QSize size) |
QSet< QString > | usedAttributes () const |
void | setXAttribute (const QString &attribute) |
QString | xAttribute () const |
void | setYAttribute (const QString &attribute) |
QString | yAttribute () const |
void | setScale (double s) |
double | scale () const |
void | setVectorFieldType (VectorFieldType type) |
VectorFieldType | vectorFieldType () const |
void | setAngleOrientation (AngleOrientation orientation) |
AngleOrientation | angleOrientation () const |
void | setAngleUnits (AngleUnits units) |
AngleUnits | angleUnits () const |
void | setOutputUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | outputUnit () const |
void | setMapUnitScale (const QgsMapUnitScale &scale) |
QgsMapUnitScale | mapUnitScale () const |
void | setDistanceUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | distanceUnit () const |
void | setDistanceMapUnitScale (const QgsMapUnitScale &scale) |
const QgsMapUnitScale & | distanceMapUnitScale () const |
void | setAngle (double angle) |
double | angle () const |
void | setSize (double size) |
double | size () const |
void | setScaleMethod (QgsSymbolV2::ScaleMethod scaleMethod) |
QgsSymbolV2::ScaleMethod | scaleMethod () const |
void | setOffset (QPointF offset) |
QPointF | offset () |
virtual void | writeSldMarker (QDomDocument &doc, QDomElement &element, QgsStringMap props) const |
void | setOffsetUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | offsetUnit () const |
void | setOffsetMapUnitScale (const QgsMapUnitScale &scale) |
const QgsMapUnitScale & | offsetMapUnitScale () const |
void | setSizeUnit (QgsSymbolV2::OutputUnit unit) |
QgsSymbolV2::OutputUnit | sizeUnit () const |
void | setSizeMapUnitScale (const QgsMapUnitScale &scale) |
const QgsMapUnitScale & | sizeMapUnitScale () const |
void | setHorizontalAnchorPoint (HorizontalAnchorPoint h) |
HorizontalAnchorPoint | horizontalAnchorPoint () const |
void | setVerticalAnchorPoint (VerticalAnchorPoint v) |
VerticalAnchorPoint | verticalAnchorPoint () const |
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 QString | ogrFeatureStyle (double mmScaleFactor, double mapUnitScaleFactor) const |
QgsSymbolV2::SymbolType | type () const |
void | setLocked (bool locked) |
bool | isLocked () const |
virtual double | estimateMaxBleed () const |
| Returns the estimated maximum distance which the layer style will bleed outside the drawn shape.
|
void | setRenderingPass (int renderingPass) |
int | renderingPass () 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 double | dxfWidth (const QgsDxfExport &e, const QgsSymbolV2RenderContext &context) const |
virtual QColor | dxfColor (const QgsSymbolV2RenderContext &context) const |
virtual QVector< qreal > | dxfCustomDashPattern (QgsSymbolV2::OutputUnit &unit) const |
virtual Qt::PenStyle | dxfPenStyle () const |
virtual QColor | dxfBrushColor (const QgsSymbolV2RenderContext &context) const |
virtual Qt::BrushStyle | dxfBrushStyle () const |
A symbol layer class for displaying displacement arrows based on point layer attributes.