e.Graphics.DrawEllipse Pixelsize [solved]
Hey guys i need some help with the e.Graphics.DrawEllipse function.
This is what i got now
It works perfect
But i cant change the thickness of the circle its now 1 pixel thick and i want it 2 pixels
I tryed to change this to 2 but that doesnt work


Tried this?
e.Graphic.DrawEllipse(New Pen(Brushes.Red, 2), 0, 0, 59, 59)
You need to actually pass the new Pen object as the argument:
[highlight=vb.net]
Dim redPen As New Drawing.Pen(Color.Red, 2)
e.Graphics.DrawEllipse(redPen, 0, 0, 59, 59)
[/highlight]
Woops, wrote brushes instead of color, lol.