Resize() public method

public Resize ( CCT.NUI.Core.Point startDragPoint, CCT.NUI.Core.Point startDragPoint2, CCT.NUI.Core.Point center1, CCT.NUI.Core.Point center2 ) : void
startDragPoint CCT.NUI.Core.Point
startDragPoint2 CCT.NUI.Core.Point
center1 CCT.NUI.Core.Point
center2 CCT.NUI.Core.Point
return void
 private void HandleResize(Point p1, Point p2)
 {
     if (isResizing)
     {
         hoveredImage.Resize(startDragPoint, startDragPoint2, p1, p2);
     }
     startDragPoint  = p1;
     startDragPoint2 = p2;
 }