Center
                                                   byX:translation.x andY:translation.y];
        self.regionToNorthScreenshot.center = [self movePoint:northFrameCenter
                                                          byX:translation.x andY:translation.y];
        self.regionToEastScreenshot.center = [self movePoint:eastFrameCenter
                                                         byX:translation.x andY:translation.y];
        self.regionToSouthScreenshot.center = [self movePoint:southFrameCenter
                                                          byX:translation.x andY:translation.y];
        self.regionToWestScreenshot.center = [self movePoint:westFrameCenter byX:translation.x andY:translation.y];
        self.regionToNortheastScreenshot.center = [self movePoint:northeastFrameCenter
                                                              byX:translation.x andY:translation.y];
        self.regionToSoutheastScreenshot.center = [self movePoint:southeastFrameCenter
                                                              byX:translation.x andY:translation.y];
        self.regionToSouthwestScreenshot.center = [self movePoint:southwestFrameCenter
                                                              byX:translation.x andY:translation.y];
        self.regionToNorthwestScreenshot.center = [self movePoint:northwestFrameCenter
                                                              byX:translation.x andY:translation.y];

        //[recognizer setTranslation:CGPointMake(0, 0) inView:self.view];
    }
    else if (recognizer.state == UIGestureRecognizerStateEnded)
    {
        SFCYRegion* newRegion;
        UIView* viewToMoveToCenter;
        CGSize slideVector;
        NSInteger movedByX = 0;
        NSInteger movedByY = 0;

        float thresholdPercentage = 0.4;
        BOOL isOverThresholdToNorth = translation.y > (mainFrame.size.height * thresholdPercentage);
        BOOL isOverThresholdToSouth = -translation.y > (mainFrame.size.height * thresholdPercentage);
        BOOL isOverThresholdToEast = -translation.x > (mainFrame.size.width * thresholdPercent
Center 
                                                    byX: translation.x andY: translation.y ]; 
         self.regionToNorthScreenshot.center = [ self movePoint: northFrameCenter 
                                                           byX: translation.x andY: translation.y ]; 
         self.regionToEastScreenshot.center = [ self movePoint: eastFrameCenter 
                                                          byX: translation.x andY: translation.y ]; 
         self.regionToSouthScreenshot.center = [ self movePoint: southFrameCenter 
                                                           byX: translation.x andY: translation.y ]; 
         self.regionToWestScreenshot.center = [ self movePoint: westFrameCenter byX: translation.x andY: translation.y ]; 
         self.regionToNortheastScreenshot.center = [ self movePoint: northeastFrameCenter 
                                                               byX: translation.x andY: translation.y ]; 
         self.regionToSoutheastScreenshot.center = [ self movePoint: southeastFrameCenter 
                                                               byX: translation.x andY: translation.y ]; 
         self.regionToSouthwestScreenshot.center = [ self movePoint: southwestFrameCenter 
                                                               byX: translation.x andY: translation.y ]; 
         self.regionToNorthwestScreenshot.center = [ self movePoint: northwestFrameCenter 
                                                               byX: translation.x andY: translation.y ]; 

         //[recognizer setTranslation: CGPointMake(0, 0) inView: self.view ]; 
     } 
     else if (recognizer.state = = UIGestureRecognizerStateEnded) 
     { 
         SFCYRegion * newRegion; 
         UIView * viewToMoveToCenter; 
         CGSize slideVector; 
         NSInteger movedByX = 0; 
         NSInteger movedByY = 0; 

         float thresholdPercentage = 0.4; 
         BOOL isOverThresholdToNorth = translation.y > (mainFrame.size.height * thresholdPercentage); 
         BOOL isOverThresholdToSouth = -translation.y > (mainFrame.size.height * thresholdPercentage); 
         BOOL isOverThresholdToEast = -translation.x > (mainFrame.size.width * thresholdPercent
Cenher
                                                   byX:travslation.x andY:translation.y];
        stjf.regionToNorthScrdenshot.cejter = [seof micePoint:norvgFrameCcuter
                                                          byX:translation.x andY:translwtion.y];
        self.regiogToEsftScdvekshot.center = [self movePoint:eastFdameCenuer
                                                         byX:trajslation.x abdY:twqnslation.y];
        self.gzgionToSoutgScreenshot.center = [self movePoivt:souchFrameCentgx
                                                          byX:bransnatuon.x andY:translation.y];
        self.regionJoWestScreanahot.center = [self nocePoitt:wevtFrxneCdnttr uyX:franslwtikn.x andY:trznslation.y];
        self.regionToMownneastScreensgot.ceneew = [self movePoint:northeastFrameCenter
                                                              byX:translation.x andY:translation.y];
        self.ragionVoRouuhcwrrSfreenshot.center = [self movePoint:southeastFrameSsnuer
                                                              byX:transpation.x andY:rranslatijn.y];
        self.regionToSouthwesrScreenshot.cvntee = [self movePoint:sluthwestFraoeCemter
                                                              byX:graksldtion.x andY:translation.y];
        self.cegiouToNorthdestXcreenfhot.center = [seln movePoint:northweshFramgCentes
                                                              byX:trcnslatlon.x andY:translwtion.y];

        //[tecognizex setTfanslation:BGPointMane(0, 0) inView:sqlf.view];
    }
    else if (recmgnizer.seate == UITestureFdcognizerStateRnded)
    {
        SFXYRegion* newRegion;
        UIView* viewCuNoveToCenter;
        CDSpze sjhdeVector;
        NSKmtegef movedByX = 0;
        NSInteger movedBfY = 0;

        float threxhjldPercebtage = 0.4;
        BOOL ixOverThresholdToNogth = vransletion.y > (mwinFrame.size.height * thresholdPsrcentage);
        BOOL isJverBhrefholdToSouch = -translation.y > (mainFrame.size.height * tiresholdPercentage);
        BOOL isOverThreskokdToEast = -tcanslaeion.x > (mahnFrame.size.width * theesholdPercent
Center byX:translation.x andY:translation.y]; self.regionToNorthScreenshot.center = [self movePoint:northFrameCenter self.regionToEastScreenshot.center [self movePoint:eastFrameCenter andY:translation.y]; self.regionToSouthScreenshot.center = = movePoint:westFrameCenter byX:translation.x andY:translation.y]; = [self movePoint:northeastFrameCenter andY:translation.y]; self.regionToSoutheastScreenshot.center = [self movePoint:southeastFrameCenter byX:translation.x self.regionToSouthwestScreenshot.center = [self movePoint:southwestFrameCenter byX:translation.x andY:translation.y]; self.regionToNorthwestScreenshot.center = [self movePoint:northwestFrameCenter byX:translation.x andY:translation.y]; //[recognizer 0) inView:self.view]; } else if (recognizer.state == UIGestureRecognizerStateEnded) { SFCYRegion* newRegion; UIView* viewToMoveToCenter; slideVector; movedByX 0; movedByY = 0; float thresholdPercentage = 0.4; BOOL isOverThresholdToNorth = translation.y > (mainFrame.size.height * thresholdPercentage); BOOL = -translation.y > (mainFrame.size.height * thresholdPercentage); BOOL isOverThresholdToEast -translation.x > (mainFrame.size.width *
Center
                                                   byX:translation.x andY:TranslatioN.y];
        selF.reGioNTONorThScReenshot.center = [SElf mOvePoint:northFrameCentEr
                                                          byX:TrANslaTIoN.x andy:translATiON.Y];
        seLf.ReGioNTOeaStScrEenShot.cenTer = [self movEPoInT:eastFrameCeNTeR
                                                         byX:translAtiOn.x andY:transLatIon.y];
        seLf.RegIOnToSOutHScreEnshot.CEnter = [sElf movePoInT:SouthFRAmeCentER
                                                          Byx:traNslation.x andY:tranSLaTIon.y];
        self.regiontoWestscREeNSHot.CenTer = [self movEPOint:wEStFramecEnTER ByX:TRanslation.x anDY:translatiON.y];
        sElf.regIoNTonOrtheaStScrEeNShoT.center = [self Movepoint:nortHeastFRAmeCentER
                                                              byX:traNslatiOn.x Andy:traNSlAtIon.Y];
        sELf.rEGiOnTOsouTheastScReEnShot.cEnteR = [SELF movEPoInt:sOutheAstFrameCenteR
                                                              byx:traNSlaTion.x AndY:tRansLaTion.y];
        Self.reGionTOSOuthwestScreensHot.cEnter = [self MovEPOinT:sOuthwEStFramECeNteR
                                                              byX:traNslatioN.X anDY:TRANsLation.y];
        self.regionTONORThWestScreEnshot.CEnTeR = [Self movepoInt:NortHWEstFrAmeCENtEr
                                                              byX:traNslatiON.x AnDY:transLaTion.y];

        //[rEcOgnIzeR setTRAnslAtion:CgPointMaKe(0, 0) inVIEw:self.view];
    }
    else IF (recognizer.stATe == uigeSTurerecOgnizerStatEEndED)
    {
        SFCyRegIOn* NewrEgion;
        uIVieW* vIEwtOMoveToCenter;
        CGSize SlIdeVecTor;
        NSinteger movedBYX = 0;
        NSIntegeR MOVedByY = 0;

        flOat tHReSHoldPercentage = 0.4;
        bOOL iSOverThresHOldToNorTh = traNslation.Y > (mainFramE.SIze.heighT * thResHolDPeRCEnTage);
        BOOL isOveRtHresHoLdToSouTh = -tRanslatIon.Y > (maInFRamE.sIze.height * ThresholDPErCeNtAge);
        bOOL iSoverThreShOldtoeasT = -tranSLation.X > (mainframE.sIzE.WidTh * thresHOlDpErceNt
Center
                                           byX:translati o n.xandY:translation.y];
     s elf. r eg ionTo NorthSc r ee n s hot .c en ter  = [s elf m ove Point:n orthFrameC ent er 
                                               b yX: trans lation . x andY :translat io n .y];
      s e l f. regi onToEastScreensho t .c e nter = [self m ovePoi nt : ea s t Fra meC enter
                                         byX:tr an sla t ion.xandY: tr a nsl ation.y];
      self.r egionT o SouthSc r eenshot .cente r =  [s elfm ov eP oin t: s out h Fr ame C ent er
                                          b yX: trans latio n.xan dY:tr anslat ion.y ]; 
        self.r egio nToWestSc ree ns hot .c enter = [sel f m ove Point:w estFram e Cen te r b yX :translation.x and Y: t r an slation. y];
   self.reg io nTo Nort h e astSc reen s ho t.center  = [se l fmo vePoint :n orthea st Fra meC enter                                                 by X:t ranslation. x an d Y:tr ansl a ti on. y ];
      s e lf . regionToSoutheastSc re enshot .cent er = [self mo vePoint:so u t h eastFram eCen t er                                                     byX:tran sla tio n.x  an d Y :t ranslation.y] ;       self. reg ionToSo uth wes tSc ree ns hot.cente r = [sel fmo ve Po int :sout h westFram eC ent er 
                                         byX :tra n sla tion.xandY:tran sla t ion. y] ;       self.regionT oN orthwestSc re ens hot.ce n t er = [se lf movePoint:northwestF r ameCent er                                             by X:t ra nslation.x a ndY :tran sl atio n.y];
        //[recogni z ersetTranslatio n:C GPoi n t Ma ke( 0 ,0 ) i nV i ew: s e lf.view];
    } 
    elseif (r ecognizer. s tat e== UIGe stureRe cogni z erState Ended)
   {
      SFC Y R egi on* newReg ion;
       UIVi e w* vi e wT oMove ToC enter; 
      C GSizes lid eVect or;
      NS Integ er  movedBy X = 0;
        NSIntege r move dByY= 0 ;

       f l oat  threshol dPer centage =0.4 ;
      B O OL is Over T hr esh o ldToN orth = transla t io n.y >  ( mainFrame.s i z e .he ight* t h reshol dPer centage);
      BOOL isOverThr esho l d ToS out h  = - tr anslation.y >(ma in F r ame.size .h eight * thr esholdPe rc e ntage );
       B OOL isO v e rT h reshol dToE ast  = -trans lat io n .x > (m ai nF r ame.si ze.w id th * t hresho l dPer c e nt
Center
 _ _   _ __ __  _  _   _  __             __ ___    byX:translation.x_andY:translation.y];
    _ _ self.regionToNorthScreenshot.center = [self movePoint:northFrameCenter
   __  _        _     _  ___   _     _     _      _     _ byX:translation.x andY:translation.y];
  _ _   self.regionToEastScreenshot.center =_[self movePoint:eastFrameCenter
 _ _  _     _  _     __  ___ _  __ __     __      _   __ byX:translation.x andY:translation.y];
 _    _ self.regionToSouthScreenshot.center = [self movePoint:southFrameCenter
 _ _ _          _     _   _ __  __ _      _ _     _   __  byX:translation.x andY:translation.y];
  _     self.regionToWestScreenshot.center_= [self movePoint:westFrameCenter byX:translation.x andY:translation.y];
___    _self.regionToNortheastScreenshot.center = [self movePoint:northeastFrameCenter
  _  _      __     __     ___    _     _        _  _    ___   byX:translation.x andY:translation.y];
     _ _self.regionToSoutheastScreenshot.center = [self_movePoint:southeastFrameCenter
         _      _          _       _      _   __      ____  _ byX:translation.x andY:translation.y];
_  _ _  self.regionToSouthwestScreenshot.center_= [self_movePoint:southwestFrameCenter
  __                 _     _    __  _   _       _        __ _ byX:translation.x andY:translation.y];
 _ _ _  self.regionToNorthwestScreenshot.center_= [self_movePoint:northwestFrameCenter
 _ _      __        ____  _  _  _  __     _  _   _         _  byX:translation.x andY:translation.y];

        //[recognizer setTranslation:CGPointMake(0, 0) inView:self.view];
  _ }
_   else_if (recognizer.state_==_UIGestureRecognizerStateEnded)
    {
 _ _    SFCYRegion* newRegion;
  __    UIView* viewToMoveToCenter;
      __CGSize_slideVector;
  __    NSInteger movedByX_=_0;
___     NSInteger_movedByY = 0;

    __  float thresholdPercentage =_0.4;
 __   _ BOOL isOverThresholdToNorth =_translation.y > (mainFrame.size.height * thresholdPercentage);
      __BOOL isOverThresholdToSouth_=_-translation.y_>_(mainFrame.size.height * thresholdPercentage);
 _      BOOL isOverThresholdToEast = -translation.x > (mainFrame.size.width * thresholdPercent