get_coords


Description:

public void get_coords (out int x, out int y)

Gets the screen coordinates of an event.

x and y are set to -1 if this is not a ButtonEvent, MotionEvent or TouchEvent.

Parameters:

this

the event

x

the x coordinate

y

the y coordinate