public final double getWidth ( int line ) { if ( strArray . length == 0 ) return 0.0 ; try { return textRenderer . getBounds ( strArray [ line ] ) . getWidth ( ) ; } catch ( GLException e ) { reset = true ; } return 0.0 ; }
Returns letter s width of the current font at its current size and line .