hsgame
接口 MouseEventArgs


public interface MouseEventArgs

触摸事件参数。

作者:
HsGame

字段摘要
static int MOUSE_DOWN
           
static int MOUSE_FLING
           
static int MOUSE_LONGPRESS
           
static int MOUSE_MOVE
           
static int MOUSE_PAN
           
static int MOUSE_PINCH
           
static int MOUSE_TAP
           
static int MOUSE_UP
           
static int MOUSE_ZOOM
           
 
方法摘要
 int getDeltaX()
           
 int getDeltaY()
           
 int getMouseType()
          获取触摸类型。
 int getX()
           
 int getY()
           
 void setX(int x)
           
 void setY(int y)
           
 

字段详细信息

MOUSE_DOWN

static final int MOUSE_DOWN
另请参见:
常量字段值

MOUSE_UP

static final int MOUSE_UP
另请参见:
常量字段值

MOUSE_MOVE

static final int MOUSE_MOVE
另请参见:
常量字段值

MOUSE_TAP

static final int MOUSE_TAP
另请参见:
常量字段值

MOUSE_LONGPRESS

static final int MOUSE_LONGPRESS
另请参见:
常量字段值

MOUSE_FLING

static final int MOUSE_FLING
另请参见:
常量字段值

MOUSE_PAN

static final int MOUSE_PAN
另请参见:
常量字段值

MOUSE_ZOOM

static final int MOUSE_ZOOM
另请参见:
常量字段值

MOUSE_PINCH

static final int MOUSE_PINCH
另请参见:
常量字段值
方法详细信息

getDeltaX

int getDeltaX()

getDeltaY

int getDeltaY()

getX

int getX()

setX

void setX(int x)

getY

int getY()

setY

void setY(int y)

getMouseType

int getMouseType()
获取触摸类型。 0:按下;1:抬起;2:拖动

返回: