Home
last modified time | relevance | path

Searched refs:fitLine (Results 1 – 1 of 1) sorted by relevance

/plugin/bpmnioeditor/vendor/bpmnio-js/
H A Dbpmn-modeler.development.js18664 fitLine = originalLine;
18669 textBBox = getTextBBox(fitLine, fakeText);
18671 textBBox.width = fitLine ? textBBox.width : 0;
18674 …if (fitLine === ' ' || fitLine === '' || textBBox.width < Math.round(maxWidth) || fitLine.length <…
18675 return fit(lines, fitLine, originalLine, textBBox);
18678 fitLine = shortenLine(fitLine, textBBox.width, maxWidth);
18682 function fit(lines, fitLine, originalLine, textBBox) { argument
18683 if (fitLine.length < originalLine.length) {
18684 var remainder = originalLine.slice(fitLine.length).trim();
18692 text: fitLine