public override void OnRender(Media.DrawingContext dc) { if (_pts != null) { dc.DrawPolygon(Fill, Stroke, _pts); } }