16 #ifndef QGSTEXTBACKGROUNDSETTINGS_H
17 #define QGSTEXTBACKGROUNDSETTINGS_H
20 #include "qgis_core.h"
28 #include <QDomElement>
29 #include <QSharedDataPointer>
36 class QgsTextBackgroundSettingsPrivate;
101 bool enabled()
const;
108 void setEnabled(
bool enabled );
114 ShapeType type()
const;
121 void setType( ShapeType type );
127 QString svgFile()
const;
135 void setSvgFile(
const QString &file );
161 SizeType sizeType()
const;
170 void setSizeType( SizeType type );
191 void setSize( QSizeF size );
234 RotationType rotationType()
const;
242 void setRotationType( RotationType type );
249 double rotation()
const;
256 void setRotation(
double rotation );
264 QPointF offset()
const;
273 void setOffset( QPointF offset );
313 QSizeF radii()
const;
323 void setRadii( QSizeF radii );
362 double opacity()
const;
370 void setOpacity(
double opacity );
376 QPainter::CompositionMode blendMode()
const;
383 void setBlendMode( QPainter::CompositionMode mode );
390 QColor fillColor()
const;
398 void setFillColor(
const QColor &color );
405 QColor strokeColor()
const;
413 void setStrokeColor(
const QColor &color );
421 double strokeWidth()
const;
429 void setStrokeWidth(
double width );
467 Qt::PenJoinStyle joinStyle()
const;
474 void setJoinStyle( Qt::PenJoinStyle style );
522 QSharedDataPointer<QgsTextBackgroundSettingsPrivate> d;
Struct for storing maximum and minimum scales for measurements in map units.
A marker symbol type, for rendering Point and MultiPoint geometries.
Base class for visual effects which can be applied to QPicture drawings.
A grouped map of multiple QgsProperty objects, each referenced by a integer key value.
The class is used as a container of context for various read/write operations on other objects.
Contains information about the context of a rendering operation.
Container for settings relating to a text background object.
SizeType
Methods for determining the background shape size.
ShapeType
Background shape types.
@ ShapeMarkerSymbol
Marker symbol.
@ ShapeSquare
Square - buffered sizes only.
RotationType
Methods for determining the rotation of the background shape.
@ RotationOffset
Shape rotation is offset from text rotation.
RenderUnit
Rendering size units.
Represents a vector layer which manages a vector based data sets.
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)