TipGiver
Programmer
- Sep 1, 2005
- 1,863
Hi,
I draw on a Panel using its .CreateGraphics. I draw an arc using the .DrawArc witch accepts a rectangle. The code:
The "g" is the .creategraphics of the panel
>> The things that are drawn are covered by the rect.. How can i make the rect transparent ?
Thank you
I draw on a Panel using its .CreateGraphics. I draw an arc using the .DrawArc witch accepts a rectangle. The code:
Code:
Private pen As New dw.Pen(Drawing.Color.Blue, 3)
Dim rect As New Drawing.Rectangle(0,0,100,100)
g.DrawArc(pen, rect, 0, 90)
The "g" is the .creategraphics of the panel
>> The things that are drawn are covered by the rect.. How can i make the rect transparent ?
Thank you