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
Post a Comment