Hi there, I am facing problems with Rect.intersects method. I have a rectangle called rect with these values:
rect.left = 307 rect.top = 237 rect.right = 437 rect.bottom = 397 Now, I have the following coordinates: left = 381 top = 255 right = 411 bottom = 306 It is pretty clear than the second rectangle fits within the first one, but when I do: rect.intersects(left, top, right, bottom) I get true as return value, as expected, but rect should be also changed to the intersection rectangle, that is one with the same coordinates as the SMALL rectangle (so 381,255 - 411,306) but rect IS NOT CHANGED, and continues having his own boundaries (307,237 - 437,397). Is this the normal behaviour? I am misunderstanding the "intersection" concept below this method? Is this a bug on Android's Rect implementation? Thanks a lot in advance, -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

