karbon

VFill Class Reference

#include <vfill.h>

List of all members.


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 (const VColor &)
 VFill (const VFill &)
const VColorcolor () 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)
VFilloperator= (const VFill &fill)
void transform (const QWMatrix &m)

Member Enumeration Documentation

Enumerator:
solid  no fill at all
grad  solid fill
patt  gradient fill
unknown  pattern fill

Definition at line 47 of file vfill.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys