7 #ifndef AIDA_IBRUSHSTYLE_H
8 #define AIDA_IBRUSHSTYLE_H 1
18 #include "AIDA/IBaseStyle.h"
43 virtual std::string
color()
const = 0;
48 virtual double opacity()
const = 0;
54 virtual bool setColor(
const std::string & newColor) = 0;
61 virtual bool setOpacity(
double newOpacity) = 0;
virtual std::vector< std::string > availableColors() const =0
Get a list of the colours supported by this implementation.
virtual std::string color() const =0
Current colour of this brush style.
Superclass for all styles in AIDA Plotting package.
Definition: IBaseStyle.h:38
virtual double opacity() const =0
Current opacity (alpha) of this brush style.
Superclass for anything which can be drawn in different colours and with (possibly) transparent/opaqu...
Definition: IBrushStyle.h:29
virtual bool setColor(const std::string &newColor)=0
Set current colour, e.g.
virtual bool setOpacity(double newOpacity)=0
Set opacity (alpha), e.g.
virtual ~IBrushStyle()
Destructor.
Definition: IBrushStyle.h:33