> you can compare an Area to a Rectangle using: > [quoted text clipped - 8 lines] > (don't say compare one area to the bounds of another because i need > more accuarcy then that)
Not tested, so use the idea at your own risk:
public static boolean intersects(Area a, Area b){ Area c = (Area)a.clone(); c.intersect(b); return !c.isEmpty(); }
Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...