m4m.framework.slideArea
@meta4d/engine / Exports / m4m / framework / slideArea
Class: slideArea
language
zh_CN
classdesc
滑动区域
version
m4m 1.0
Implements
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new slideArea()
Properties
horizontal
• horizontal: boolean
= false
language
zh_CN
classdesc
水平滑动开启
version
m4m 1.0
Defined in
framework/2d/component/slideArea.ts:23
onDownFun
• onDownFun: (x
: number
, y
: number
) => {}
Type declaration
▸ (x
, y
): Object
Parameters
x
number
y
number
Returns
Object
Defined in
framework/2d/component/slideArea.ts:99
onMoveFun
• onMoveFun: (x
: number
, y
: number
) => {}
Type declaration
▸ (x
, y
): Object
Parameters
x
number
y
number
Returns
Object
Defined in
framework/2d/component/slideArea.ts:98
onUpFun
• onUpFun: () => {}
Type declaration
▸ (): Object
Returns
Object
Defined in
framework/2d/component/slideArea.ts:100
transform
• transform: transform2D
Implementation of
Defined in
framework/2d/component/slideArea.ts:43
vertical
• vertical: boolean
= false
language
zh_CN
classdesc
垂直滑动开启
version
m4m 1.0
Defined in
framework/2d/component/slideArea.ts:33
ClassName
▪ Static
Readonly
ClassName: string
= "slideArea"
Defined in
framework/2d/component/slideArea.ts:11
Methods
onPlay
▸ onPlay(): void
Returns
void
Implementation of
Defined in
framework/2d/component/slideArea.ts:38
onPointEvent
▸ onPointEvent(canvas
, ev
, oncap
): void
Parameters
Returns
void
Implementation of
Defined in
framework/2d/component/slideArea.ts:44
remove
▸ remove(): void
Returns
void
Implementation of
Defined in
framework/2d/component/slideArea.ts:104
start
▸ start(): void
Returns
void
Implementation of
Defined in
framework/2d/component/slideArea.ts:35
update
▸ update(delta
): void
Parameters
delta
number
Returns
void
Implementation of
Defined in
Last updated