Beispiel #1
0
 public CRectangle(int pen_width, Color pen_color, TPoint left_top_corner, int width, int height) : base(pen_width, pen_color)
 {
     this.left_top_corner = left_top_corner;
     this.width           = width;
     this.height          = height;
 }
Beispiel #2
0
 public CLine(int pen_width, Color pen_color, TPoint point_a, TPoint point_b) : base(pen_width, pen_color)
 {
     this.point_a = point_a;
     this.point_b = point_b;
 }
Beispiel #3
0
 public CEllipse(int pen_width, Color pen_color, TPoint center, int radius_a, int radius_b) : base(pen_width, pen_color)
 {
     this.center   = center;
     this.radius_a = radius_a;
     this.radius_b = radius_b;
 }