I have a rectangle, with an x and y coordinate which represent the top-left corner of the rectangle. I also have the width and the height.
I need a piece of code that can iterate through all the four lines of the rectangle fast.
My crap code works but have 4 for-loops o_0