public void reset ( ) { gsStack . removeAllElements ( ) ; gsStack . add ( new GraphicsState ( ) ) ; textMatrix = null ; textLineMatrix = null ; resources = new DictionaryStack ( ) ; }
Resets the graphics state stack matrices and resources .