public Shape(FiguresData fd) { this.fd = fd; }
public Triangle(FiguresData fd) : base(fd) { base.fd.type = Figures.Triangle; }
public Rectangle(FiguresData fd) : base(fd) { base.fd.b = base.fd.c; base.fd.type = Figures.Rectangle; }
public Circle(FiguresData fd) : base(fd) { base.fd.c = base.fd.b = base.fd.a; base.fd.type = Figures.Circle; }