Lines Matching refs:str
347 * @param str the <code>String</code> to be measured
351 * @throws NullPointerException if str is null.
356 public int stringWidth(String str) {
357 int len = str.length();
359 str.getChars(0, len, data, 0);
454 * @param str the specified <code>String</code>
460 public LineMetrics getLineMetrics( String str, Graphics context) {
461 return font.getLineMetrics(str, myFRC(context));
467 * @param str the specified <code>String</code>
468 * @param beginIndex the initial offset of <code>str</code>
469 * @param limit the end offset of <code>str</code>
475 public LineMetrics getLineMetrics( String str,
478 return font.getLineMetrics(str, beginIndex, limit, myFRC(context));
523 * @param str the specified <code>String</code>
530 public Rectangle2D getStringBounds( String str, Graphics context) {
531 return font.getStringBounds(str, myFRC(context));
540 * @param str the specified <code>String</code>
541 * @param beginIndex the offset of the beginning of <code>str</code>
542 * @param limit the end offset of <code>str</code>
549 public Rectangle2D getStringBounds( String str,
552 return font.getStringBounds(str, beginIndex, limit,