E
elfgirl
Unregistered / Unconfirmed
GUEST, unregistred user!
我在image1上划了一根线,然后在imageNew上划了一个矩型框,下面有一根虚线代码如下:
ImageNew->Canvas->Pen->Color=clRed;
ImageNew->Canvas->Brush->Color=clYellow;
ImageNew->Canvas->Rectangle(0,0,ImageNew->Width ,40);
ImageNew->Parent = PanelDrawRegion;
ImageNew->Canvas->Pen->Color=clBlack;
ImageNew->Canvas->Pen->Style=psDot;
ImageNew->Canvas->Brush->Color=clWhite;
ImageNew->Canvas->MoveTo(ImageNew->Width/2,50);
ImageNew->Canvas->LineTo(ImageNew->Width/2,ImageNew->Height);
但是虚线所在的那部分image把下面的image1挡住了为什么那部分是白色的也把后面的挡住拉呢
应该怎么解决
ImageNew->Canvas->Pen->Color=clRed;
ImageNew->Canvas->Brush->Color=clYellow;
ImageNew->Canvas->Rectangle(0,0,ImageNew->Width ,40);
ImageNew->Parent = PanelDrawRegion;
ImageNew->Canvas->Pen->Color=clBlack;
ImageNew->Canvas->Pen->Style=psDot;
ImageNew->Canvas->Brush->Color=clWhite;
ImageNew->Canvas->MoveTo(ImageNew->Width/2,50);
ImageNew->Canvas->LineTo(ImageNew->Width/2,ImageNew->Height);
但是虚线所在的那部分image把下面的image1挡住了为什么那部分是白色的也把后面的挡住拉呢
应该怎么解决