Ejemplo n.º 1
0
        public override void OnRender(DrawingContext drawingContext)
        {
            Geometry.Clear();

            using (var context = Geometry.Open())
            {
                Render(context);
            }

            drawingContext.DrawGeometry(Background?.GetBrush(), Pen?.GetPen(), Geometry);
        }