protected TextLayout getTextLayout ( ) { if ( refreshTextLayout ) { refreshTextLayout = false ; layout = new TextLayout ( getText ( ) , getFont ( ) , new FontRenderContext ( transform , true , false ) ) ; } return layout ; }
Gets the text layout .