예제 #1
0
 private void drawCircle(CanvasContext2D context, object radgrad, double size)
 {
     context.FillStyle = radgrad;
     context.BeginPath();
     context.Arc(0, 0, size / 2, 0, Math.PI * 2, true);
     context.ClosePath();
     context.Fill();
 }