Re: [ROOT] How to: create a trasparent stat box ?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jul 14 2000 - 19:15:31 MEST


Hi Valeri,
To make the stats box completly transparent, set the stat style to 0.

I see that transparency (opacity) seems to work for pads only and not for other
boxes.

To be investigated.

Rene

Valeri Fine (Faine) wrote:
> 
> Hi, Root'er
> 
> Can my users create a transparent (semi-transparent) stat box ?
> (Linux RedHad 6.1 + ROOT 2.25 )
> 
> I tried:
> 
>   gStyle->SetStatStyle(4001)
> 
> since:
> 
>   inline Bool_t TAttFill::IsTransparent() const
>   { return fFillStyle >= 4000 && fFillStyle <= 4100 ? kTRUE : kFALSE; }
> 
> 
> and from TCanvas I found the stat box does bear that 4000 style
> but it is not transparent
>                                       Valery



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:29 MET