"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.transform = void 0;
var tslib_1 = require("tslib");
var g2_1 = require("@antv-source/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.__spreadArray([], matrix, true) : tslib_1.__spreadArray([], ORIGIN_MATRIX, true);
    return g2_1.Util.transform(ulMatrix, actions);
}
exports.transform = transform;
//# sourceMappingURL=matrix.js.map