Для разработчиковDocument APIDocument API C++Справочник классов, структур и методовКласс BlocksМетод Blocks::getShapeOn this pageМетод Blocks::getShape Возвращает фигуру Shape по заданному индексу. Пример Blocks blocks = document.getBlocks(); boost::optional<Shape> shapeOpt = blocks.getShape(0); std::printf("%s", shapeOpt.has_value() ? "Shape was found" : "Shape was not found");