Page 1 of 1

Graphics3D Ellipse not transparent

Posted: Wed Feb 25, 2009 8:25 pm
by 14049416
Hi,

I am sure there is a simple answer to this but when I use the Ellipse method as so, g.Ellipse(r);, I get a solid black ellipse with a border color of the pen.Color. What I am looking for is a ellipse that is not filled in.

Thanks,
Kevin

Posted: Thu Feb 26, 2009 10:34 am
by 10050769
Hi WD_Gordon,

If you want ellipse don't fill you can use similar code for next in the event AfterDraw:

Code: Select all

            g.Brush.Transparency = 100;
            g.Ellipse(100, 150, 150, 200 );

You needs call method g.Brush.Transparency before than g.Ellipse(..) because this call g.brush before draw ellipse.



Thanks,