"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.convert3DTitleRotationMode = exports.convert3DLabelOrientationMode = exports.E3DTitleRotationMode = exports.E3DLabelOrientationMode = void 0;
var E3DLabelOrientationMode;
(function (E3DLabelOrientationMode) {
    E3DLabelOrientationMode["Auto"] = "Auto";
    E3DLabelOrientationMode["Horizontal"] = "Horizontal";
})(E3DLabelOrientationMode = exports.E3DLabelOrientationMode || (exports.E3DLabelOrientationMode = {}));
var E3DTitleRotationMode;
(function (E3DTitleRotationMode) {
    E3DTitleRotationMode["Auto"] = "Auto";
    E3DTitleRotationMode["Horizontal"] = "Horizontal";
    E3DTitleRotationMode["Vertical"] = "Vertical";
})(E3DTitleRotationMode = exports.E3DTitleRotationMode || (exports.E3DTitleRotationMode = {}));
var convert3DLabelOrientationMode = function (labelOrientationMode, webAssemblyContext) {
    var mode = webAssemblyContext.eSCRTTickLabelOrientationMode.TickLabelOrientationHorizontal;
    switch (labelOrientationMode) {
        case E3DLabelOrientationMode.Auto:
            mode = webAssemblyContext.eSCRTTickLabelOrientationMode.TickLabelOrientationAuto;
            break;
        case E3DLabelOrientationMode.Horizontal:
            mode = webAssemblyContext.eSCRTTickLabelOrientationMode.TickLabelOrientationHorizontal;
            break;
        default:
            break;
    }
    return mode;
};
exports.convert3DLabelOrientationMode = convert3DLabelOrientationMode;
var convert3DTitleRotationMode = function (titleRotationMode, webAssemblyContext) {
    var mode = webAssemblyContext.eSCRTAxisTitleRotationMode.AxisTitleRotationHorizontal;
    switch (titleRotationMode) {
        case E3DTitleRotationMode.Auto:
            mode = webAssemblyContext.eSCRTAxisTitleRotationMode.AxisTitleRotationAuto;
            break;
        case E3DTitleRotationMode.Horizontal:
            mode = webAssemblyContext.eSCRTAxisTitleRotationMode.AxisTitleRotationHorizontal;
            break;
        case E3DTitleRotationMode.Vertical:
            mode = webAssemblyContext.eSCRTAxisTitleRotationMode.AxisTitleRotationVertical;
            break;
        default:
            break;
    }
    return mode;
};
exports.convert3DTitleRotationMode = convert3DTitleRotationMode;
