Hi list,
I just found out that the bounding rectangle of a "thick" line selection
(linewidth > 1) does not seem to take account the extra width, it only
returns the rectangle spanned by the the center points.
line.contains() does work correctly (the way I expect it) instead, by
calling getPolygon().contains(x, y) if width > 1
Would also calling getPolygon().getbounds(x, y) in line.getbounds() fix
this? Should this be changed?
Sincerely
Joachim Wesner
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________