Hi,
I have a rect class, which has four member variables(x, y, w, h).
I have five rect object which I have to position horixontally one after another. The five rect object are added in an array list and I have to position them with for loop.
The problem is, their hight are same but their width are different. I have to position the second rect on the width of the first rect.
Any input will be apreciated.
Thank you.