RAIDA  1.9.0
Public Member Functions | List of all members
AIDA::ITextStyle Class Referenceabstract

Style for all text (e.g. More...

#include <ITextStyle.h>

Inheritance diagram for AIDA::ITextStyle:
AIDA::IBrushStyle AIDA::IBaseStyle AIDA::ITextStyleROOT

Public Member Functions

virtual ~ITextStyle ()
 Destructor.
 
virtual std::vector< std::string > availableFonts () const =0
 Get list of fonts available in this implementation.
 
virtual double fontSize () const =0
 Get current font size.
 
virtual bool setFontSize (double size)=0
 Set current font size. More...
 
virtual std::string font () const =0
 Get name of current font.
 
virtual bool setFont (const std::string &font)=0
 Set current font, e.g. More...
 
virtual bool isBold () const =0
 
virtual bool isItalic () const =0
 
virtual bool isUnderlined () const =0
 
virtual bool setBold (bool bold=true)=0
 
virtual bool setItalic (bool italic=true)=0
 
virtual bool setUnderlined (bool underlined=true)=0
 
- Public Member Functions inherited from AIDA::IBrushStyle
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 &paramName, const std::string &options="")=0
 Set a parameter. More...
 
virtual std::string parameterValue (const std::string &parameter) 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 &paramName) const =0
 Get list of the available options for a given parameter (implementation-dependent).
 

Detailed Description

Style for all text (e.g.

axis labels, legend box text etc.)

Author
The AIDA team (http://aida.freehep.org/)

Member Function Documentation

virtual bool AIDA::ITextStyle::setFont ( const std::string &  font)
pure virtual

Set current font, e.g.

"timesNewRoman" or "courier".

Returns
false if font not supported by this implementation.

Implemented in AIDA::ITextStyleROOT.

virtual bool AIDA::ITextStyle::setFontSize ( double  size)
pure virtual

Set current font size.

Returns
false if size not supported by this implementation.

Implemented in AIDA::ITextStyleROOT.


The documentation for this class was generated from the following file: