16#ifndef QGSTEXTBACKGROUNDSETTINGS_H
17#define QGSTEXTBACKGROUNDSETTINGS_H
27#include <QSharedDataPointer>
37class QgsTextBackgroundSettingsPrivate;
106 void setEnabled(
bool enabled );
112 ShapeType type()
const;
119 void setType( ShapeType type );
125 QString svgFile()
const;
133 void setSvgFile(
const QString &file );
181 SizeType sizeType()
const;
190 void setSizeType( SizeType type );
211 void setSize( QSizeF size );
254 RotationType rotationType()
const;
262 void setRotationType( RotationType type );
269 double rotation()
const;
276 void setRotation(
double rotation );
284 QPointF offset()
const;
293 void setOffset( QPointF offset );
333 QSizeF radii()
const;
343 void setRadii( QSizeF radii );
382 double opacity()
const;
390 void setOpacity(
double opacity );
396 QPainter::CompositionMode blendMode()
const;
403 void setBlendMode( QPainter::CompositionMode mode );
412 QColor fillColor()
const;
422 void setFillColor(
const QColor &color );
431 QColor strokeColor()
const;
439 void setStrokeColor(
const QColor &color );
447 double strokeWidth()
const;
457 void setStrokeWidth(
double width );
499 Qt::PenJoinStyle joinStyle()
const;
508 void setJoinStyle( Qt::PenJoinStyle style );
565 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 an integer key value.
A container for the context for various read/write operations on 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.
@ SizePercent
Shape size is determined by percent of text size.
@ SizeBuffer
Shape size is determined by adding a buffer margin around text.
QgsTextBackgroundSettings()
ShapeType
Background shape types.
@ ShapeMarkerSymbol
Marker symbol.
@ ShapeSquare
Square - buffered sizes only.
@ ShapeRectangle
Rectangle.
RotationType
Methods for determining the rotation of the background shape.
@ RotationOffset
Shape rotation is offset from text rotation.
@ RotationSync
Shape rotation is synced with text rotation.
@ RotationFixed
Shape rotation is a fixed angle.
Represents a vector layer which manages a vector based dataset.
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)