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

ScreenPoint

The 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)

The 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