Workspace 6.21.5
Public Member Functions | Public Attributes | List of all members
WorkspaceGraphicsEffect::EffectState Struct Reference

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_
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ EffectState() [1/2]

◆ EffectState() [2/2]

EffectState ( const QColor &  outlineColor,
qreal  outlineWidth,
const QColor &  shadeColor,
EffectType  effects 
)

Member Data Documentation

◆ effects_

EffectType effects_

◆ offset_

QPoint offset_

◆ outlineColor_

QColor outlineColor_

◆ outlineWidth_

qreal outlineWidth_

◆ path_

QPainterPath path_

◆ shadeColor_

QColor shadeColor_