display object borders?

I want to calculate overlap of display objects with irregular shape and various rotation angles to solve this problem:
http://developer.anscamobile.com/forum/2012/02/09/prevent-overlap#comment-85782

I did not find a method how object borders can be accessed, I only know their reference points´ x and y and their physics shapes.

Any hint/pointer to documentation or example is much appreciated.

[import]uid: 109677 topic_id: 21665 reply_id: 321665[/import]

I believe you might be looking for object.contentBounds, which is a table that provides global (screen) coordinates of the object’s “borders” via xMin,yMin, xMax, and yMax.

More information here:
http://developer.anscamobile.com/reference/index/objectcontentbounds [import]uid: 52430 topic_id: 21665 reply_id: 85980[/import]

good, thanks, I can use that for now.
Visually it would be more pleasing with somehow using exact borders of the irregular shapes of the display objects. [import]uid: 109677 topic_id: 21665 reply_id: 86071[/import]