CSharp examples for System.Drawing:Graphics
Draw Point
using System.Threading.Tasks; using System.Text; using System.Linq; using System.Drawing; using System.Collections.Generic; using System;//from w w w.j a va 2s . c o m public class Main{ public static void DrawPoint(Graphics grahic, int x, int y, int num) { grahic.DrawEllipse(myPen, x, y, 5, 5); grahic.DrawString(num.ToString(), new Font(FontFamily.GenericSerif, 8), Brushes.Red, x+7, y+7); } }