Point
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
Ink.Point
|
A single touch point (horizontal and
vertical coordinates). |
|
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],[],null,["# Point\n\npublic interface **Point** \n\n|---|---|---|\n| Known Indirect Subclasses [Ink.Point](/android/reference/com/google/mlkit/vision/digitalink/recognition/Ink.Point) |------------------------------------------------------------------------------------------|-------------------------------------------------------------| | [Ink.Point](/android/reference/com/google/mlkit/vision/digitalink/recognition/Ink.Point) | A single touch point (horizontal and vertical coordinates). | |||\n\nA single touch point (horizontal and vertical coordinates). \n\n### Public Method Summary\n\n|------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Long](//developer.android.com/reference/java/lang/Long.html) | [getTimestamp](/android/reference/com/google/mlkit/vision/digitalink/common/Point#getTimestamp())() Time when the point was recorded, in milliseconds. |\n| abstract float | [getX](/android/reference/com/google/mlkit/vision/digitalink/common/Point#getX())() Horizontal coordinate. |\n| abstract float | [getY](/android/reference/com/google/mlkit/vision/digitalink/common/Point#getY())() Vertical coordinate. |\n\nPublic Methods\n--------------\n\n#### public abstract [Long](//developer.android.com/reference/java/lang/Long.html) **getTimestamp** ()\n\nTime when the point was recorded, in milliseconds. \n\n#### public abstract float **getX** ()\n\nHorizontal coordinate. Increases to the right. \n\n#### public abstract float **getY** ()\n\nVertical coordinate. Increases to the bottom."]]