"Write a Rectangle method called translate: that takes a vector Point (xv, yv) as its argument. Have it translate the rectangle's origin by the specified vector"
Not that familiar with vectors. Is the argument simply a couple of integers. And by "translate", is the implication that one is assigning a new value to an existing point?
thanks
Not that familiar with vectors. Is the argument simply a couple of integers. And by "translate", is the implication that one is assigning a new value to an existing point?
thanks