RAIDA
1.9.0
|
Superclass for anything which can be drawn in different colours and with (possibly) transparent/opaque/translucent effect. More...
#include <IBrushStyle.h>
Public Member Functions | |
virtual | ~IBrushStyle () |
Destructor. | |
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. | |
virtual double | opacity () const =0 |
Current opacity (alpha) of this brush style. | |
virtual bool | setColor (const std::string &newColor)=0 |
Set current colour, e.g. More... | |
virtual bool | setOpacity (double newOpacity)=0 |
Set opacity (alpha), e.g. More... | |
Public Member Functions inherited from AIDA::IBaseStyle | |
virtual | ~IBaseStyle () |
Destructor. | |
virtual void | reset ()=0 |
Return to original (construction time) state. More... | |
virtual bool | setParameter (const std::string ¶mName, const std::string &options="")=0 |
Set a parameter. More... | |
virtual std::string | parameterValue (const std::string ¶meter) const =0 |
Get value of a parameter. More... | |
virtual std::vector< std::string > | availableParameters () const =0 |
Get list of the available parameters (implementation-dependent) | |
virtual std::vector< std::string > | availableParameterOptions (const std::string ¶mName) const =0 |
Get list of the available options for a given parameter (implementation-dependent). | |
Superclass for anything which can be drawn in different colours and with (possibly) transparent/opaque/translucent effect.
|
pure virtual |
Set current colour, e.g.
"darkGreen"
Implemented in AIDA::IBrushStyleROOT.
|
pure virtual |
Set opacity (alpha), e.g.
0 (transparent), 1 (opaque), 0.5 (halfway).
Implemented in AIDA::IBrushStyleROOT.