17 #ifndef QGSTEXTBUFFERSETTINGS_H
18 #define QGSTEXTBUFFERSETTINGS_H
21 #include "qgis_core.h"
25 #include <QSharedData>
27 #include <QDomElement>
30 class QgsTextBufferSettingsPrivate;
73 void setEnabled(
bool enabled );
88 void setSize(
double size );
126 QColor color()
const;
133 void setColor(
const QColor &color );
141 bool fillBufferInterior()
const;
149 void setFillBufferInterior(
bool fill );
156 double opacity()
const;
164 void setOpacity(
double opacity );
170 Qt::PenJoinStyle joinStyle()
const;
177 void setJoinStyle( Qt::PenJoinStyle style );
183 QPainter::CompositionMode blendMode()
const;
190 void setBlendMode( QPainter::CompositionMode mode );
202 void readXml(
const QDomElement &elem );
208 QDomElement writeXml( QDomDocument &doc )
const;
238 QSharedDataPointer<QgsTextBufferSettingsPrivate> d;
242 #endif // QGSTEXTBUFFERSETTINGS_H