Calculate the shortest distance from the point to the item
| painter |
The painter to use for calculations |
| x |
The x coordinate of the point |
| y |
The y coordinate of the point |
|
The shortest distance from the point to the item |