Package com.yandex.mapkit

Class ScreenPoint

java.lang.Object
    ↳ com.yandex.mapkit.ScreenPoint

class ScreenPoint implements Serializable

A point on the device screen.

Summary

Constructors

Signature and Description

ScreenPoint(float x,
            float y)

ScreenPoint()
Use constructor with parameters in your code.

Methods

Type and modifiers

Method and Description

float

getX()
The horizontal position of the point in pixels from the left screen border.

float

getY()
The vertical position of the point in pixels from the top screen border.

void

serialize(com.yandex.runtime.bindings.Archive archive)

Constuctors

ScreenPoint

ScreenPoint(float x,
            float y)


ScreenPoint

ScreenPoint()

Use constructor with parameters in your code.

This one is for bindings only!


Methods

getX

float getX()

The horizontal position of the point in pixels from the left screen border.


getY

float getY()

The vertical position of the point in pixels from the top screen border.


serialize

@Override
void serialize(com.yandex.runtime.bindings.Archive archive)