Constructors
constructor
- new Mouse(base: CABase, type?: MOUSE_TYPE, listener?: ((e: any) => void), name?: string): Mouse
-
Parameters
-
-
-
Optional
listener: ((e: any) => void)
-
- (e: any): void
-
Returns void
-
Optional
name: string
Properties
base
Optional
end
handler
handler: any
inPan
inPan: boolean = false
Optional
name
name?: string
Optional
start
types
Methods
clear
- clear(): void
-
Returns void
destory
- destory(): void
-
Returns void
updateListener
- updateListener(type: MOUSE_TYPE, listener: ((e: any) => void)): void
-
Parameters
-
-
listener: ((e: any) => void)
-
- (e: any): void
-
Returns void
Returns void
Static
updateScale
- updateScale(base: CABase, stepCount?: number): { value: undefined; width: undefined } | { value: undefined | number; width: number }
-
Returns { value: undefined; width: undefined } | { value: undefined | number; width: number }
@description: 更新比例尺