Class Point
Point
A point representing a location.
Methods
Method | Return type | Brief description |
getX() | Number | Gets the horizontal coordinate, measured in points. |
getY() | Number | Gets the vertical coordinate, measured in points. |
Detailed documentation
getX()
Gets the horizontal coordinate, measured in points.
Return
Number
getY()
Gets the vertical coordinate, measured in points.
Return
Number
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 2018-06-26 UTC.
[null,null,["Last updated 2018-06-26 UTC."],[[["A Point represents a location and has methods to access its coordinates."],["`getX()` and `getY()` methods return the horizontal and vertical coordinates of the Point in points, respectively."]]],[]]