distance property

double distance
final, inherited

The distance of the detected object from the input surface.

For instance, this value could be the distance of a stylus or finger from a touch screen, in arbitrary units on an arbitrary (not necessarily linear) scale. If the pointer is down, this is 0.0 by definition.

Implementation

final double distance