Hi, Alexander, TNode / TShape object can not be filled at all. One can draw its wired view only. Valery -----Original Message----- From: Alexander Zvyagin <Alexander.Zviagine@cern.ch> To: ROOTtalk mail list <roottalk@pcroot.cern.ch> Date: 25 èþíÿ 2000 ã. 18:30 Subject: [ROOT] Problem with TAttFill::SetFillColor(); >Hi, > >I have TNode object that was created with this code: > > TNode *node = new TNode(.......); > node->SetLineColor(color1); > node->SetFillColor(color2); > >The call node->SetFillColor(color2) does not change fill colour of my >object (SetLineColor() works just fine). What is the problem? It seems >that the usage of methods TAttLine::SetLineColor() and >TAttFill::SetFillColor() is not symmetrical. If this is a FEATURE, it >creates some confusion. > >With best wishes, >Alexander Zvyagin. > >
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:28 MET