Workspace 6.21.5
|
State class for storing the current state of the effect. More...
#include <Workspace/Presentation/workspacegraphicseffect.h>
Public Member Functions | |
EffectState () | |
EffectState (const QColor &outlineColor, qreal outlineWidth, const QColor &shadeColor, EffectType effects) | |
Public Attributes | |
EffectType | effects_ |
QPoint | offset_ |
QColor | outlineColor_ |
qreal | outlineWidth_ |
QPainterPath | path_ |
QColor | shadeColor_ |
Allows us to use a stack to manage the properties without having to recall their values. This means we can generically perform certain changes to all effects without having to know how they previously operated.
EffectState | ( | ) |
EffectState | ( | const QColor & | outlineColor, |
qreal | outlineWidth, | ||
const QColor & | shadeColor, | ||
EffectType | effects | ||
) |
EffectType effects_ |
QPoint offset_ |
QColor outlineColor_ |
qreal outlineWidth_ |
QPainterPath path_ |
QColor shadeColor_ |