diff -r 68443f5be176 -r 44679e468ba9 src/objecttypes/polygon.h --- a/src/objecttypes/polygon.h Sat Oct 05 23:47:03 2019 +0300 +++ b/src/objecttypes/polygon.h Sun Nov 03 12:17:41 2019 +0200 @@ -16,6 +16,7 @@ const Vertex &point_2, const Vertex &point_3, Color color_index = colors::main); + Triangle(const QVector& vertices, const Color color); QVariant getProperty(Property id) const override; SetPropertyResult setProperty(Property id, const QVariant& value) override; QString textRepresentation() const override; @@ -33,6 +34,7 @@ const Vertex &point_3, const Vertex &point_4, Color color_index = colors::main); + Quadrilateral(const QVector& vertices, const Color color); QVariant getProperty(Property id) const override; SetPropertyResult setProperty(Property id, const QVariant& value) override; QString textRepresentation() const override;