--- 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<Vertex>& 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<Vertex>& vertices, const Color color); QVariant getProperty(Property id) const override; SetPropertyResult setProperty(Property id, const QVariant& value) override; QString textRepresentation() const override;