Class: ZoomEvent โ
Hierarchy โ
โณ
ZoomEvent
Implements โ
Table of contents โ
Constructors โ
Properties โ
- origin
- type
- phase
- isStopDefault
- isStop
- isStopNow
- x
- y
- path
- throughPath
- altKey
- ctrlKey
- shiftKey
- metaKey
- buttons
- target
- current
- bubbles
- BEFORE_ZOOM
- START
- ZOOM
- END
- scale
Accessors โ
Methods โ
- stopDefault
- stopNow
- stop
- getBoxPoint
- getInnerPoint
- getLocalPoint
- getPagePoint
- getInner
- getLocal
- getPage
- changeName
Constructors โ
constructor โ
โข new ZoomEvent(params
)
Parameters โ
Name | Type |
---|---|
params | IUIEvent |
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:31
Properties โ
origin โ
โข Readonly
origin: IObject
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/event/src/Event.ts:7
type โ
โข Readonly
type: string
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/event/src/Event.ts:9
phase โ
โข Readonly
phase: number
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/event/src/Event.ts:14
isStopDefault โ
โข isStopDefault: boolean
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/event/src/Event.ts:16
isStop โ
โข isStop: boolean
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/event/src/Event.ts:17
isStopNow โ
โข isStopNow: boolean
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/event/src/Event.ts:18
x โ
โข Readonly
x: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:10
y โ
โข Readonly
y: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:11
path โ
โข Readonly
path: ILeafList
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:13
throughPath โ
โข Optional
Readonly
throughPath: ILeafList
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:14
altKey โ
โข Readonly
altKey: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:16
ctrlKey โ
โข Readonly
ctrlKey: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:17
shiftKey โ
โข Readonly
shiftKey: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:18
metaKey โ
โข Readonly
metaKey: boolean
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:19
buttons โ
โข Readonly
buttons: number
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:25
target โ
โข Readonly
target: ILeaf
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:27
current โ
โข Readonly
current: ILeaf
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:28
bubbles โ
โข Readonly
bubbles: boolean
= true
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:29
BEFORE_ZOOM โ
โช Static
BEFORE_ZOOM: string
= 'zoom.before_zoom'
Defined in โ
ui/packages/event/src/ZoomEvent.ts:9
START โ
โช Static
START: string
= 'zoom.start'
Defined in โ
ui/packages/event/src/ZoomEvent.ts:11
ZOOM โ
โช Static
ZOOM: string
= 'zoom'
Defined in โ
ui/packages/event/src/ZoomEvent.ts:12
END โ
โช Static
END: string
= 'zoom.end'
Defined in โ
ui/packages/event/src/ZoomEvent.ts:13
scale โ
โข Readonly
scale: number
Implementation of โ
Defined in โ
ui/packages/event/src/ZoomEvent.ts:15
Accessors โ
spaceKey โ
โข get
spaceKey(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
UIEvent.spaceKey
Defined in โ
ui/packages/event/src/UIEvent.ts:20
left โ
โข get
left(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
UIEvent.left
Defined in โ
ui/packages/event/src/UIEvent.ts:22
right โ
โข get
right(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
UIEvent.right
Defined in โ
ui/packages/event/src/UIEvent.ts:23
middle โ
โข get
middle(): boolean
Returns โ
boolean
Implementation of โ
Inherited from โ
UIEvent.middle
Defined in โ
ui/packages/event/src/UIEvent.ts:24
Methods โ
stopDefault โ
โธ stopDefault(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/event/src/Event.ts:25
stopNow โ
โธ stopNow(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/event/src/Event.ts:30
stop โ
โธ stop(): void
Returns โ
void
Implementation of โ
Inherited from โ
Defined in โ
leafer/packages/event/src/Event.ts:36
getBoxPoint โ
โธ getBoxPoint(relative?
): IPointData
Parameters โ
Name | Type |
---|---|
relative? | ILeaf |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:36
getInnerPoint โ
โธ getInnerPoint(relative?
): IPointData
Parameters โ
Name | Type |
---|---|
relative? | ILeaf |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:40
getLocalPoint โ
โธ getLocalPoint(relative?
): IPointData
Parameters โ
Name | Type |
---|---|
relative? | ILeaf |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:44
getPagePoint โ
โธ getPagePoint(): IPointData
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:48
getInner โ
โธ getInner(relative?
): IPointData
Parameters โ
Name | Type |
---|---|
relative? | ILeaf |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:53
getLocal โ
โธ getLocal(relative?
): IPointData
Parameters โ
Name | Type |
---|---|
relative? | ILeaf |
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:54
getPage โ
โธ getPage(): IPointData
Returns โ
Implementation of โ
Inherited from โ
Defined in โ
ui/packages/event/src/UIEvent.ts:55
changeName โ
โธ Static
changeName(oldName
, newName
): void
Parameters โ
Name | Type |
---|---|
oldName | string |
newName | string |
Returns โ
void