Searched refs:strLimit (Results 1 – 1 of 1) sorted by relevance
71 var strLimit = 0 in drawLabel() variable73 while (strLimit < slice.name.length && strWidth <= width) { in drawLabel()74 strWidth += metrics.charWidth(slice.name[strLimit]) in drawLabel()75 strLimit++ in drawLabel()77 if (strWidth > width) strLimit-- in drawLabel()78 if (strLimit > 2) { in drawLabel()80 g.drawString(slice.name.substring(0, strLimit), x, y) in drawLabel()