/** * Returns true if an {@link XY} touches a {@link Layer}. Note: if the supplied layer has no * size, this will always return false. */ public static boolean hitTest(Layer layer, XY pos) { return hitTest(layer, pos.x(), pos.y()); }
/** * Returns true if an {@link XY} touches a {@link Layer}. Note: if the supplied layer has no * size, this will always return false. */ public static boolean hitTest(Layer layer, XY pos) { return hitTest(layer, pos.x(), pos.y()); }