"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.transpose = void 0; /** * Exchange dimensions of the vector. * @param params [tx, ty] * @param x x of the the bounding box of coordinate * @param y y of the the bounding box of coordinate * @param width width of the the bounding box of coordinate * @param height height of the the bounding box of coordinate * @returns transformer */ var transpose = function (params, x, y, width, height) { return { transform: function (_a) { var x = _a[0], y = _a[1]; return [y, x]; }, untransform: function (_a) { var x = _a[0], y = _a[1]; return [y, x]; }, }; }; exports.transpose = transpose; //# sourceMappingURL=transpose.js.map