"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTextSize = void 0;
const getPlainTextHeight_1 = require("./getPlainTextHeight");
const getPlainTextWidth_1 = require("./getPlainTextWidth");
const getTextSize = (str, fontSize, maxLength) => {
    const width = (0, getPlainTextWidth_1.getTextWidth)(str, fontSize, maxLength);
    const height = (0, getPlainTextHeight_1.getTextHeight)(str, fontSize, maxLength);
    return { width, height };
};
exports.getTextSize = getTextSize;
//# sourceMappingURL=getPlainTextSize.js.map