예제 #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);
        }