You probably also have to set the fillstyle to solid (1001): Conventions for fill styles: *-* 0 = hollow *-* 1001 : Solid *-* 2001 : hatch style *-* 3000+pattern_number (see below) *-* The following table shows the list of pattern styles. Marco van Leeuwen On Sun, 25 Jun 2000, Alexander Zvyagin wrote: > 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