WPF DrawGeometry does not draw stroke
问题 I hope this question was not asked before, I searched everywhere. My problem is that I'm drawing a set of coordinates on my wpf usercontrol with points, I managed to fill my polygon with background color but not with a stroke. Stoke for some reason is not drawing? Here is my code on the OnRender event using the DrawingContext System.Windows.Media.Pen penDrawing = new System.Windows.Media.Pen(System.Windows.Media.Brushes.OrangeRed, 2); drawingContext.DrawGeometry(System.Windows.Media.Brushes