コード例 #1
0
ファイル: Rectangle.cs プロジェクト: h-a-r-s-h-p/hello-world
 /// <summary>
 ///     Constructor setting just the basic attributes of Polyline.
 /// </summary>
 /// <param name="height">Hright of Rectangle.</param>
 /// <param name="width">Width of Rectangle.</param>
 /// <param name="start">The left botton coordinate of the smallest rectangle enclosing the shape.</param>
 public Rectangle(int height, int width, Coordinate start) : base(ShapeType.RECTANGLE)
 {
     Height = height;
     Width  = width;
     Start  = start.Clone();
 }