"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../../Class/Functional");
const _ids_1 = require("../../../../_ids");
class AddArc extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['arc', 'd'],
            o: ['d'],
        }, {}, system, _ids_1.ID_ADD_ARC);
    }
    f({ d, arc: { x, y, r, start, end, anticlockwise = false } }, done) {
        done({
            d: [...d, ['arc', x, y, r, start, end, anticlockwise]],
        });
    }
}
exports.default = AddArc;
//# sourceMappingURL=index.js.map