java - Method for finding if Path2D intersects or contains another Path2D -


java path2d has methods determine if rectangle intersects shape or not, , if rectangle contained in shape or not. there easy way similar things path2d?

use area instead of path2d. can determine if 2 areas intersect this:

!a1.intersect(a2).isempty() 

Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -