16#ifndef QGSTEXTBACKGROUNDSETTINGS_H
17#define QGSTEXTBACKGROUNDSETTINGS_H
29#include <QSharedDataPointer>
37class 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 );
183 SizeType sizeType()
const;
192 void setSizeType( SizeType type );
213 void setSize( QSizeF size );
256 RotationType rotationType()
const;
264 void setRotationType( RotationType type );
271 double rotation()
const;
278 void setRotation(
double rotation );
286 QPointF offset()
const;
295 void setOffset( QPointF offset );
335 QSizeF radii()
const;
345 void setRadii( QSizeF radii );
384 double opacity()
const;
392 void setOpacity(
double opacity );
398 QPainter::CompositionMode blendMode()
const;
405 void setBlendMode( QPainter::CompositionMode mode );
414 QColor fillColor()
const;
424 void setFillColor(
const QColor &color );
433 QColor strokeColor()
const;
441 void setStrokeColor(
const QColor &color );
449 double strokeWidth()
const;
459 void setStrokeWidth(
double width );
501 Qt::PenJoinStyle joinStyle()
const;
510 void setJoinStyle( Qt::PenJoinStyle style );
567 QSharedDataPointer<QgsTextBackgroundSettingsPrivate> d;
RenderUnit
Rendering size units.
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.
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)