Skip to content

Instantly share code, notes, and snippets.

@nhooyr
Created January 21, 2018 14:45
Show Gist options
  • Save nhooyr/e991bf244d085dcbb8a030a0a3c63544 to your computer and use it in GitHub Desktop.
Save nhooyr/e991bf244d085dcbb8a030a0a3c63544 to your computer and use it in GitHub Desktop.
Shape intersection = Shape.intersect(shape1, shape2);
return intersection.getBoundsInLocal().getWidth() > 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment