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

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -