Class: RotateEvent
Hierarchy
↳
RotateEvent
Implements
Table of contents
Constructors
Properties
- origin
- type
- phase
- isStopDefault
- isStop
- isStopNow
- BEFORE_ROTATE
- START
- ROTATE
- END
- rotation
- x
- y
- path
- throughPath
- altKey
- ctrlKey
- shiftKey
- metaKey
- buttons
- target
- current
- bubbles
Accessors
Methods
- stopDefault
- stopNow
- stop
- getBoxPoint
- getInnerPoint
- getLocalPoint
- getPagePoint
- getInner
- getLocal
- getPage
- changeName
Constructors
constructor
• new RotateEvent(params
): RotateEvent
Parameters
Name | Type |
---|---|
params | IUIEvent |
Returns
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
BEFORE_ROTATE
▪ Static
BEFORE_ROTATE: string
= 'rotate.before_rotate'
Defined in
ui/packages/event/src/RotateEvent.ts:10
START
▪ Static
START: string
= 'rotate.start'
Defined in
ui/packages/event/src/RotateEvent.ts:12
ROTATE
▪ Static
ROTATE: string
= 'rotate'
Defined in
ui/packages/event/src/RotateEvent.ts:13
END
▪ Static
END: string
= 'rotate.end'
Defined in
ui/packages/event/src/RotateEvent.ts:14
rotation
• Readonly
rotation: number
Implementation of
Defined in
ui/packages/event/src/RotateEvent.ts:16
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
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:41
getLocalPoint
▸ getLocalPoint(relative?
): IPointData
Parameters
Name | Type |
---|---|
relative? | ILeaf |
Returns
Implementation of
Inherited from
Defined in
ui/packages/event/src/UIEvent.ts:46
getPagePoint
▸ getPagePoint(): IPointData
Returns
Implementation of
Inherited from
Defined in
ui/packages/event/src/UIEvent.ts:51
getInner
▸ getInner(relative?
): IPointData
Parameters
Name | Type |
---|---|
relative? | ILeaf |
Returns
Implementation of
Inherited from
Defined in
ui/packages/event/src/UIEvent.ts:56
getLocal
▸ getLocal(relative?
): IPointData
Parameters
Name | Type |
---|---|
relative? | ILeaf |
Returns
Implementation of
Inherited from
Defined in
ui/packages/event/src/UIEvent.ts:57
getPage
▸ getPage(): IPointData
Returns
Implementation of
Inherited from
Defined in
ui/packages/event/src/UIEvent.ts:58
changeName
▸ changeName(oldName
, newName
): void
Parameters
Name | Type |
---|---|
oldName | string |
newName | string |
Returns
void