{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
interface CoordinatesProvider
GeneralLocation |
Calculates coordinate position for general locations. |
Interface to implement calculation of Coordinates.
Public methods |
|
|---|---|
abstract float[] |
calculateCoordinates(View view)Calculates coordinates of given view. |
abstract float[] calculateCoordinates(View view)
Calculates coordinates of given view.
| Parameters | |
|---|---|
View view |
the View which is used for the calculation. |
| Returns | |
|---|---|
float[] |
a float[] with x and y values of the calculated coordinates. |