示例#1
0
文件: PieShape.cs 项目: nenaaki/Sting
        public override void OnRender(DrawingContext drawingContext)
        {
            Geometry.Clear();

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

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