hsgame
接口 MouseEventArgs
public interface MouseEventArgs
触摸事件参数。
- 作者:
- HsGame
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:拖动
- 返回:
isInClient
boolean isInClient()