@ Pure protected final boolean boundsIntersects ( Shape2D < ? , ? , ? , ? , ? , ? extends Rectangle2afp < ? , ? , ? , ? , ? , ? > > rectangle ) { final Rectangle2d bounds = getBoundingBox ( ) ; assert bounds != null ; return bounds . intersects ( rectangle ) ; }
Replies if the bounds of this element has an intersection with the specified rectangle .