question: public void reset ( ) { gsStack . removeAllElements ( ) ; gsStack . push ( new ParserGraphicsState ( ) ) ; textMatrix = null ; textLineMatrix = null ; resourcesStack = new Stack < > ( ) ; isClip = false ; currentPath = new Path ( ) ; }
target:  Resets the graphics state stack, matrices and resources.