示例#1
0
 /// <summary>
 ///     Fills the inside of an rectangle.
 /// </summary>
 /// <param name="rect">The rectangle to fill.</param>
 public void FillRectangle(Rectangle rect)
 {
     _graphics.FillRectangle(FillBrush, rect.X, rect.Y, rect.Width, rect.Height);
 }
示例#2
0
 /// <summary>
 ///     Fills the inside of an rectangle.
 /// </summary>
 /// <param name="rect">The rectangle to fill.</param>
 public void FillRectangle(Rectangle rect)
 {
     _graphics.FillRectangle(FillBrush, rect.X, rect.Y, rect.Width, rect.Height);
 }
示例#3
0
 /// <summary>
 ///     Draws a rectangle.
 /// </summary>
 /// <param name="rect">The rectangle to draw.</param>
 public void DrawRectangle(Rectangle rect)
 {
     _graphics.DrawRectangle(LinePen, rect.X, rect.Y, rect.Width, rect.Height);
 }
示例#4
0
 /// <summary>
 ///     Draws a rectangle.
 /// </summary>
 /// <param name="rect">The rectangle to draw.</param>
 public void DrawRectangle(Rectangle rect)
 {
     _graphics.DrawRectangle(LinePen, rect.X, rect.Y, rect.Width, rect.Height);
 }