karbon
VFill Class Reference
#include <vfill.h>
Detailed Description
Manages the fill of shapes.The fill can be solid or gradient. Also two fill rules are supported that effect how the shape is filled. For explanation see the QPainter documentation.
Default is no fill and even-odd filling rule.
Definition at line 44 of file vfill.h.
Public Types | |
enum | VFillType { none = 0, solid = 1, grad = 2, patt = 3, unknown = 4 } |
Public Member Functions | |
VFill () | |
VFill (const VColor &) | |
VFill (const VFill &) | |
const VColor & | color () const |
void | setColor (const VColor &color, bool bsolid=true) |
VGradient & | gradient () |
const VGradient & | gradient () const |
VPattern & | pattern () |
const VPattern & | pattern () const |
VFillType | type () const |
void | setType (VFillType type) |
void | save (QDomElement &element) const |
void | saveOasis (KoGenStyles &mainStyles, KoGenStyle &style) const |
void | load (const QDomElement &element) |
void | loadOasis (const QDomElement &object, KoOasisLoadingContext &context, VObject *parent=0L) |
VFill & | operator= (const VFill &fill) |
void | transform (const QWMatrix &m) |
Member Enumeration Documentation
|
|
The documentation for this class was generated from the following files: