/* * Polygon.h * * Created on: Apr 10, 2019 * Author: johnsontimoj */ #ifndef POLYGON_H_ #define POLYGON_H_ #include using namespace std; class Polygon { protected: int num_vertices; int fill_color; int line_color; string identity; public: Polygon(); Polygon(string id); Polygon(string id, int num_v, int f_col, int l_col); void set_polygon(string id, int num_v, int f_col, int l_col); void set_num_vertices(int num_v); void set_fill_color(int f_col); void set_line_color(int l_col); void set_id(string id); int get_num_vertices(void); int get_fill_color(void); int get_line_color(void); string get_id(void); }; #endif /* POLYGON_H_ */