karbon
VGradient Class Reference
List of all members.Detailed Description
Definition at line 58 of file vgradient.h.
Public Types | |
| enum | VGradientType { linear = 0, radial = 1, conic = 2 } |
| enum | VGradientRepeatMethod { none = 0, reflect = 1, repeat = 2 } |
Public Member Functions | |
| VGradient (VGradientType type=linear) | |
| VGradient (const VGradient &gradient) | |
| VGradient & | operator= (const VGradient &gradient) |
| VGradientType | type () const |
| void | setType (VGradientType type) |
| VGradientRepeatMethod | repeatMethod () const |
| void | setRepeatMethod (VGradientRepeatMethod repeatMethod) |
| const QPtrVector< VColorStop > | colorStops () const |
| void | addStop (const VColorStop &colorStop) |
| void | addStop (const VColor &color, float rampPoint, float midPoint) |
| void | removeStop (const VColorStop &colorStop) |
| void | clearStops () |
| KoPoint | origin () const |
| void | setOrigin (const KoPoint &origin) |
| KoPoint | focalPoint () const |
| void | setFocalPoint (const KoPoint &focalPoint) |
| KoPoint | vector () const |
| void | setVector (const KoPoint &vector) |
| void | save (QDomElement &element) const |
| QString | saveOasis (KoGenStyles &mainStyles) const |
| void | load (const QDomElement &element) |
| void | loadOasis (const QDomElement &object, KoStyleStack &stack, VObject *parent=0L) |
| void | transform (const QWMatrix &m) |
Protected Attributes | |
| VColorStopList | m_colorStops |
Friends | |
| class | VGradientWidget |
Classes | |
| class | VColorStopList |
The documentation for this class was generated from the following files:

