"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.transform = void 0;
var tslib_1 = require("tslib");
var g2_1 = require("@antv/g2");
var ORIGIN_MATRIX = [1, 0, 0, 0, 1, 0, 0, 0, 1];
/**
 * 矩阵变换
 * @param actions
 * @param matrix
 */
function transform(actions, matrix) {
    var ulMatrix = matrix ? tslib_1.__spreadArrays(matrix) : tslib_1.__spreadArrays(ORIGIN_MATRIX);
    return g2_1.Util.transform(ulMatrix, actions);
}
exports.transform = transform;
//# sourceMappingURL=matrix.js.map