public void setTextMatrix ( final Matrix matrix ) throws IOException { if ( ! inTextMode ) { throw new IllegalStateException ( "Error: must call beginText() before setTextMatrix" ) ; } writeAffineTransform ( matrix . createAffineTransform ( ) ) ; writeOperator ( ( byte ) ' ' , ( byte ) ' ' ) ; }
The Tm operator . Sets the text matrix to the given values . A current text matrix will be replaced with the new one .