Find the closest item the the given coordinates
The x and y coordinates are user coordinates. The distance is in device coordinates.
x |
The x coordinate of the point |
y |
The y coordinate of the point |
distance |
The maximum distance for items |
The closest item or null if none |