16 #ifndef QGSTEXTBACKGROUNDSETTINGS_H
17 #define QGSTEXTBACKGROUNDSETTINGS_H
20 #include "qgis_core.h"
28 #include <QDomElement>
29 #include <QSharedDataPointer>
36 class 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 );
158 SizeType sizeType()
const;
167 void setSizeType( SizeType type );
188 void setSize( QSizeF size );
231 RotationType rotationType()
const;
239 void setRotationType( RotationType type );
246 double rotation()
const;
253 void setRotation(
double rotation );
261 QPointF offset()
const;
270 void setOffset( QPointF offset );
310 QSizeF radii()
const;
320 void setRadii( QSizeF radii );
359 double opacity()
const;
367 void setOpacity(
double opacity );
373 QPainter::CompositionMode blendMode()
const;
380 void setBlendMode( QPainter::CompositionMode mode );
387 QColor fillColor()
const;
395 void setFillColor(
const QColor &color );
402 QColor strokeColor()
const;
410 void setStrokeColor(
const QColor &color );
418 double strokeWidth()
const;
426 void setStrokeWidth(
double width );
464 Qt::PenJoinStyle joinStyle()
const;
471 void setJoinStyle( Qt::PenJoinStyle style );
519 QSharedDataPointer<QgsTextBackgroundSettingsPrivate> d;
523 #endif // QGSTEXTBACKGROUNDSETTINGS_H