예제 #1
0
 /// <summary>
 /// 填充矩形
 /// </summary>
 /// <param name="x">x</param>
 /// <param name="y">y</param>
 /// <param name="size">尺寸</param>
 /// <param name="color">颜色</param>
 public void FillRect(Int32 x, Int32 y, XSize size, ConsoleColor color)
 {
     FillRect(new XRect(x, y, size), color);
 }
예제 #2
0
 /// <summary>
 /// 填充矩形
 /// </summary>
 /// <param name="point">位置</param>
 /// <param name="size">尺寸</param>
 /// <param name="color">颜色</param>
 public void FillRect(XPoint point, XSize size, ConsoleColor color)
 {
     FillRect(new XRect(point, size), color);
 }
예제 #3
0
 /// <summary>
 /// 绘制字符串
 /// </summary>
 /// <param name="text">字符串</param>
 /// <param name="point">位置</param>
 /// <param name="size">尺寸</param>
 /// <param name="color">颜色</param>
 public void DrawText(String text, XPoint point, XSize size, ConsoleColor color)
 {
     DrawText(text, new XRect(point, size), color);
 }
예제 #4
0
 /// <summary>
 /// 绘制矩形
 /// </summary>
 /// <param name="point">位置</param>
 /// <param name="size">尺寸</param>
 /// <param name="color">颜色</param>
 public void DrawRect(XPoint point, XSize size, ConsoleColor color)
 {
     DrawRect(new XRect(point, size), color);
 }
예제 #5
0
 /// <summary>
 /// 绘制字符串
 /// </summary>
 /// <param name="text">字符串</param>
 /// <param name="x">x</param>
 /// <param name="y">y</param>
 /// <param name="size">绘制范围尺寸</param>
 /// <param name="color">颜色</param>
 public void DrawText(String text, Int32 x, Int32 y, XSize size, ConsoleColor color)
 {
     DrawText(text, new XRect(x, y, size), color);
 }