Treefrog.Presentation.Annotations.ImageAnnot.MoveTo C# (CSharp) Method

MoveTo() public method

public MoveTo ( Point location ) : void
location Point
return void
        public void MoveTo(Point location)
        {
            int diffX = location.X - Position.X;
            int diffY = location.Y - Position.Y;
            MoveBy(diffX, diffY);
        }