16#ifndef QGSTEXTBACKGROUNDSETTINGS_H
17#define QGSTEXTBACKGROUNDSETTINGS_H
27#include <QSharedDataPointer>
37class QgsTextBackgroundSettingsPrivate;
105 void setEnabled(
bool enabled );
111 ShapeType type()
const;
118 void setType( ShapeType type );
124 QString svgFile()
const;
132 void setSvgFile(
const QString &file );
180 SizeType sizeType()
const;
189 void setSizeType( SizeType type );
210 void setSize( QSizeF size );
253 RotationType rotationType()
const;
261 void setRotationType( RotationType type );
268 double rotation()
const;
275 void setRotation(
double rotation );
283 QPointF offset()
const;
292 void setOffset( QPointF offset );
332 QSizeF radii()
const;
342 void setRadii( QSizeF radii );
381 double opacity()
const;
389 void setOpacity(
double opacity );
395 QPainter::CompositionMode blendMode()
const;
402 void setBlendMode( QPainter::CompositionMode mode );
411 QColor fillColor()
const;
421 void setFillColor(
const QColor &color );
430 QColor strokeColor()
const;
438 void setStrokeColor(
const QColor &color );
446 double strokeWidth()
const;
456 void setStrokeWidth(
double width );
498 Qt::PenJoinStyle joinStyle()
const;
507 void setJoinStyle( Qt::PenJoinStyle style );
563 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)