Constructors
constructor
-
Parameters
-
-
-
-
askForExtentedMouseMoveAndMaouseUp: function
-
askForNormalMouseMoveAndMaouseUp: function
-
scrollViewChange: function
Methods
OnKeydown
- OnKeydown(keyCode: number): boolean
-
Parameters
Returns boolean
OnTouchMove
-
Parameters
-
-
offsetLeft: number
-
offsetTop: number
Returns void
OnTouchStart
-
Parameters
-
-
offsetLeft: number
-
offsetTop: number
Returns boolean
getHasScrollBarX
- getHasScrollBarX(): boolean
getHasScrollBarY
- getHasScrollBarY(): boolean
getScrollBarPosMaxX
- getScrollBarPosMaxX(): number
getScrollBarPosMaxY
- getScrollBarPosMaxY(): number
getScrollbarSize
- getScrollbarSize(): number
onExtendedMouseMove
- onExtendedMouseMove(x: number, y: number): boolean
-
Parameters
Returns boolean
onExtendedMouseUp
- onExtendedMouseUp(x: number, y: number): boolean
-
Parameters
Returns boolean
onMouseDown
- onMouseDown(x: number, y: number): boolean
-
Parameters
Returns boolean
onMouseMove
- onMouseMove(x: number, y: number): boolean
-
Parameters
Returns boolean
onMouseUp
- onMouseUp(x: number, y: number): boolean
-
Parameters
Returns boolean
onScroll
- onScroll(deltaMode: number, deltaX: number, deltaY: number): void
-
Parameters
-
deltaMode: number
-
deltaX: number
-
deltaY: number
Returns void
setPosX
- setPosX(value: number): void
setPosY
- setPosY(value: number): void
setSize
- setSize(r: number, canvasWidth: number, canvasHeight: number, width?: undefined | number, height?: undefined | number): void
-
Parameters
-
r: number
-
canvasWidth: number
-
canvasHeight: number
-
Optional width: undefined | number
-
Optional height: undefined | number
Returns void