示例#1
0
 /// <summary>
 /// Draw a line on the screen
 /// </summary>
 /// <param name="x1">x position of the start of the line, in pixels</param>
 /// <param name="y1">y position of the start of the line, in pixels</param>
 /// <param name="x2">x position of the end of the line, in pixels</param>
 /// <param name="y2">y position of the end of the line, in pixels</param>
 public static void DrawLine(int x1, int y1, int x2, int y2)
 {
     manager.DrawLine(x1, y1, x2, y2);
 }