Class ScreenPoint

com.yandex.mapkit

java.lang.Object ⇽ ScreenPoint

public class ScreenPoint

A point on the device screen.

Constructors

ScreenPoint(float x, float y)
ScreenPoint()

Use constructor with parameters in your code.

ScreenPoint(float x, float y)
ScreenPoint()

Use constructor with parameters in your code.

Methods

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(Archive archive)
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(Archive archive)

Constructor Detail

ScreenPoint

public ScreenPoint (float x, float y)

ScreenPoint

public ScreenPoint ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getX

public float getX ()

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

getY

public float getY ()

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

serialize

public void serialize (Archive archive)