graphics - C# DrawElipse Method without specifying a fill -


simple question - how use drawing context make ellipse not fill colour?

at moment have:

 drawingcontext.drawellipse(drawbrush, null, jointpoints[jointtype],   jointthickness, jointthickness); 

this gives me ellipse filled colour @ every joint position tracked kinect.

i want display outter circle without fill, how can this? enter image description here

for example image above, how make outter circle?

simply pass null brush , pass in pen of desired color instead.

from msdn:

the brush fill ellipse. optional, , can null. if brush null, no fill drawn.


Comments

Popular posts from this blog

java - Ebean enhancement ignores a model -

javascript - Reference error while trying to encapsulate an animation function -

SQL php on different pages to Insert (mysqli) -