16 #ifndef QGSTEXTBACKGROUNDSETTINGS_H
17 #define QGSTEXTBACKGROUNDSETTINGS_H
20 #include "qgis_core.h"
28 #include <QDomElement>
29 #include <QSharedDataPointer>
37 class QgsTextBackgroundSettingsPrivate;
102 bool enabled()
const;
109 void setEnabled(
bool enabled );
115 ShapeType type()
const;
122 void setType( ShapeType type );
128 QString svgFile()
const;
136 void setSvgFile(
const QString &file );
184 SizeType sizeType()
const;
193 void setSizeType( SizeType type );
214 void setSize( QSizeF size );
257 RotationType rotationType()
const;
265 void setRotationType( RotationType type );
272 double rotation()
const;
279 void setRotation(
double rotation );
287 QPointF offset()
const;
296 void setOffset( QPointF offset );
336 QSizeF radii()
const;
346 void setRadii( QSizeF radii );
385 double opacity()
const;
393 void setOpacity(
double opacity );
399 QPainter::CompositionMode blendMode()
const;
406 void setBlendMode( QPainter::CompositionMode mode );
415 QColor fillColor()
const;
425 void setFillColor(
const QColor &color );
434 QColor strokeColor()
const;
442 void setStrokeColor(
const QColor &color );
450 double strokeWidth()
const;
460 void setStrokeWidth(
double width );
502 Qt::PenJoinStyle joinStyle()
const;
511 void setJoinStyle( Qt::PenJoinStyle style );
568 QSharedDataPointer<QgsTextBackgroundSettingsPrivate> d;
A fill symbol type, for rendering Polygon and MultiPolygon geometries.
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)