Lines Matching refs:textWidth
318 …var textWidth = mxUtils.getSizeForString(calloutText, textSize, mxConstants.DEFAULT_FONTFAMILY).wi…
319 textWidth = textWidth * 1.2;
321 if (textWidth == 0)
323 textWidth = 70;
337 c.lineTo(textWidth, callH);
343 c.rect(0,0, textWidth, callH);
346 c.moveTo(textWidth * 0.5, callH);
352 c.roundrect(0, 0, textWidth, callH, callH * 0.25, callH * 0.25);
355 c.moveTo(textWidth * 0.5, callH);
360 …c.text(textWidth * 0.5, callH * 0.5, 0, 0, calloutText, mxConstants.ALIGN_CENTER, mxConstants.ALIG…
368 c.lineTo(w - textWidth, callH);
374 c.rect(w - textWidth,0, textWidth, callH);
377 c.moveTo(w - textWidth * 0.5, callH);
383 c.roundrect(w - textWidth,0, textWidth, callH, callH * 0.25, callH * 0.25);
386 c.moveTo(w - textWidth * 0.5, callH);
391 …c.text(w - textWidth * 0.5, callH * 0.5, 0, 0, calloutText, mxConstants.ALIGN_CENTER, mxConstants.…
399 c.lineTo(w - textWidth, h);
405 c.rect(w - textWidth, h - callH, textWidth, callH);
408 c.moveTo(w - textWidth * 0.5, h - callH);
414 c.roundrect(w - textWidth,h - callH, textWidth, callH, callH * 0.25, callH * 0.25);
417 c.moveTo(w - textWidth * 0.5, h - callH);
422 …c.text(w - textWidth * 0.5, h - callH * 0.5, 0, 0, calloutText, mxConstants.ALIGN_CENTER, mxConsta…
430 c.lineTo(textWidth, h);
436 c.rect(0, h - callH, textWidth, callH);
439 c.moveTo(textWidth * 0.5, h - callH);
445 c.roundrect(0, h - callH, textWidth, callH, callH * 0.25, callH * 0.25);
448 c.moveTo(textWidth * 0.5, h - callH);
453 …c.text(textWidth * 0.5, h - callH * 0.5, 0, 0, calloutText, mxConstants.ALIGN_CENTER, mxConstants.…