shortest_distance


Description:

public abstract double shortest_distance (SchematicPainter painter, int x, int y)

Calculate the shortest distance from the point to the item

Parameters:

painter

The painter to use for calculations

x

The x coordinate of the point

y

The y coordinate of the point

Returns:

The shortest distance from the point to the item