コード例 #1
0
 public void Translate(MyPoint origin)
 {
     this.origin = origin;
 }
コード例 #2
0
 public Rectangle(int width, int length, MyPoint origin) : base()
 {
     this.width  = width;
     this.length = length;
     this.origin = origin;
 }
コード例 #3
0
 public Rectangle(char line, char fill, bool isFilled, int width, int length, MyPoint origin) : base(line, fill, isFilled)
 {
     this.width  = width;
     this.length = length;
     this.origin = origin;
 }
コード例 #4
0
 public Rectangle() : base()
 {
     width  = 0;
     length = 0;
     origin = new MyPoint(0, 0);
 }