ru.dgis.sdk.map.ScreenPoint | Android SDK | 2GIS Documentation
Android SDK

ScreenPoint

Point in screen coordinates.

Directions of axes: x - rightwards, y - downwards. (0.0, 0.0) - the upper-left corner of the upper-left pixel. The integer part of the coordinate is the pixel number, the fractional part is the relative position within the pixel.

ScreenPoint(x: Float = 0.0f, y: Float = 0.0f)

Point in screen coordinates.

Directions of axes: x - rightwards, y - downwards. (0.0, 0.0) - the upper-left corner of the upper-left pixel. The integer part of the coordinate is the pixel number, the fractional part is the relative position within the pixel.

Parameters
x
y
Returns
Properties