You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
470 B

4 months ago
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapIt = wrapIt;
var text_1 = require("./text");
function wrapIt(node, wordWrapWidth, maxLines, textBaseline) {
if (maxLines === void 0) { maxLines = 2; }
if (textBaseline === void 0) { textBaseline = 'top'; }
(0, text_1.applyToText)(node, { wordWrap: true, wordWrapWidth: wordWrapWidth, maxLines: maxLines, textBaseline: textBaseline });
}
//# sourceMappingURL=wrap.js.map