public void saveState(PdfCanvas cb){
  cb.saveState();
  MetaState state=new MetaState(this);
  savedStates.push(state);
}

public void saveState ( PdfCanvas cb ) { cb . saveState ( ) ; MetaState state = new MetaState ( this ) ; savedStates . push ( state ) ; }
saves the state of this metastate object .
