\section{A\-I\-D\-A\-:\-:I\-Brush\-Style Class Reference}
\label{classAIDA_1_1IBrushStyle}\index{A\-I\-D\-A\-::\-I\-Brush\-Style@{A\-I\-D\-A\-::\-I\-Brush\-Style}}


Superclass for anything which can be drawn in different colours and with (possibly) transparent/opaque/translucent effect.  




{\ttfamily \#include $<$I\-Brush\-Style.\-h$>$}

Inheritance diagram for A\-I\-D\-A\-:\-:I\-Brush\-Style\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.008180cm]{classAIDA_1_1IBrushStyle}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual {\bf $\sim$\-I\-Brush\-Style} ()\label{classAIDA_1_1IBrushStyle_aeb635a078be982e33d05141fe6d673a4}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual std\-::vector$<$ std\-::string $>$ {\bf available\-Colors} () const =0\label{classAIDA_1_1IBrushStyle_a44816d1072457f0ef4408776fdc23bc0}

\begin{DoxyCompactList}\small\item\em Get a list of the colours supported by this implementation. \end{DoxyCompactList}\item 
virtual std\-::string {\bf color} () const =0\label{classAIDA_1_1IBrushStyle_ab6497bf99958e201e5a93669f99389eb}

\begin{DoxyCompactList}\small\item\em Current colour of this brush style. \end{DoxyCompactList}\item 
virtual double {\bf opacity} () const =0\label{classAIDA_1_1IBrushStyle_ab2f250ee0c23341980b53e9a0cbcb61a}

\begin{DoxyCompactList}\small\item\em Current opacity (alpha) of this brush style. \end{DoxyCompactList}\item 
virtual bool {\bf set\-Color} (const std\-::string \&new\-Color)=0
\begin{DoxyCompactList}\small\item\em Set current colour, e.\-g. \end{DoxyCompactList}\item 
virtual bool {\bf set\-Opacity} (double new\-Opacity)=0
\begin{DoxyCompactList}\small\item\em Set opacity (alpha), e.\-g. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Superclass for anything which can be drawn in different colours and with (possibly) transparent/opaque/translucent effect. 

\begin{DoxyAuthor}{Author}
The \doxyref{A\-I\-D\-A}{p.}{namespaceAIDA} team ({\tt http\-://aida.\-freehep.\-org/}) 
\end{DoxyAuthor}


\subsection{Member Function Documentation}
\index{A\-I\-D\-A\-::\-I\-Brush\-Style@{A\-I\-D\-A\-::\-I\-Brush\-Style}!set\-Color@{set\-Color}}
\index{set\-Color@{set\-Color}!AIDA::IBrushStyle@{A\-I\-D\-A\-::\-I\-Brush\-Style}}
\subsubsection[{set\-Color}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool A\-I\-D\-A\-::\-I\-Brush\-Style\-::set\-Color (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{new\-Color}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IBrushStyle_a70a25d34852f72f5c642a151dcc051b0}


Set current colour, e.\-g. 

\char`\"{}dark\-Green\char`\"{} \begin{DoxyReturn}{Returns}
false if colour not recognised by the implementation. 
\end{DoxyReturn}


Implemented in {\bf A\-I\-D\-A\-::\-I\-Brush\-Style\-R\-O\-O\-T} \doxyref{}{p.}{classAIDA_1_1IBrushStyleROOT_ab4c5a7662efe31222fe330dae6019c42}.

\index{A\-I\-D\-A\-::\-I\-Brush\-Style@{A\-I\-D\-A\-::\-I\-Brush\-Style}!set\-Opacity@{set\-Opacity}}
\index{set\-Opacity@{set\-Opacity}!AIDA::IBrushStyle@{A\-I\-D\-A\-::\-I\-Brush\-Style}}
\subsubsection[{set\-Opacity}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool A\-I\-D\-A\-::\-I\-Brush\-Style\-::set\-Opacity (
\begin{DoxyParamCaption}
\item[{double}]{new\-Opacity}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IBrushStyle_affeaaa1ab9f4854f1d0a4cf6521f1273}


Set opacity (alpha), e.\-g. 

0 (transparent), 1 (opaque), 0.\-5 (halfway). \begin{DoxyReturn}{Returns}
false if value not supported by the implementation. 
\end{DoxyReturn}


Implemented in {\bf A\-I\-D\-A\-::\-I\-Brush\-Style\-R\-O\-O\-T} \doxyref{}{p.}{classAIDA_1_1IBrushStyleROOT_adec905f6ab20fe28122e061f226e17bb}.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
I\-Brush\-Style.\-h\end{DoxyCompactItemize}
