Point

  • Point is a public interface representing a single touch point with horizontal and vertical coordinates.

  • Ink.Point is a known indirect subclass of Point.

  • The interface provides methods to get the horizontal coordinate (getX), the vertical coordinate (getY), and the timestamp (getTimestamp) when the point was recorded.

public interface Point
Known Indirect Subclasses

A single touch point (horizontal and vertical coordinates).

Public Method Summary

abstract Long
getTimestamp()
Time when the point was recorded, in milliseconds.
abstract float
getX()
Horizontal coordinate.
abstract float
getY()
Vertical coordinate.

Public Methods

public abstract Long getTimestamp ()

Time when the point was recorded, in milliseconds.

public abstract float getX ()

Horizontal coordinate. Increases to the right.

public abstract float getY ()

Vertical coordinate. Increases to the bottom.