Skip to content

Class: RotateEvent

Hierarchy

Implements

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new RotateEvent(params): RotateEvent

Parameters

NameType
paramsIUIEvent

Returns

RotateEvent

Inherited from

UIEvent.constructor

Defined in

ui/packages/event/src/UIEvent.ts:31

Properties

origin

Readonly origin: IObject

Implementation of

IRotateEvent.origin

Inherited from

UIEvent.origin

Defined in

leafer/packages/event/src/Event.ts:7


type

Readonly type: string

Implementation of

IRotateEvent.type

Inherited from

UIEvent.type

Defined in

leafer/packages/event/src/Event.ts:9


phase

Readonly phase: number

Implementation of

IRotateEvent.phase

Inherited from

UIEvent.phase

Defined in

leafer/packages/event/src/Event.ts:14


isStopDefault

isStopDefault: boolean

Implementation of

IRotateEvent.isStopDefault

Inherited from

UIEvent.isStopDefault

Defined in

leafer/packages/event/src/Event.ts:16


isStop

isStop: boolean

Implementation of

IRotateEvent.isStop

Inherited from

UIEvent.isStop

Defined in

leafer/packages/event/src/Event.ts:17


isStopNow

isStopNow: boolean

Implementation of

IRotateEvent.isStopNow

Inherited from

UIEvent.isStopNow

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

IRotateEvent.rotation

Defined in

ui/packages/event/src/RotateEvent.ts:16


x

Readonly x: number

Implementation of

IRotateEvent.x

Inherited from

UIEvent.x

Defined in

ui/packages/event/src/UIEvent.ts:10


y

Readonly y: number

Implementation of

IRotateEvent.y

Inherited from

UIEvent.y

Defined in

ui/packages/event/src/UIEvent.ts:11


path

Readonly path: ILeafList

Implementation of

IRotateEvent.path

Inherited from

UIEvent.path

Defined in

ui/packages/event/src/UIEvent.ts:13


throughPath

Optional Readonly throughPath: ILeafList

Implementation of

IRotateEvent.throughPath

Inherited from

UIEvent.throughPath

Defined in

ui/packages/event/src/UIEvent.ts:14


altKey

Readonly altKey: boolean

Implementation of

IRotateEvent.altKey

Inherited from

UIEvent.altKey

Defined in

ui/packages/event/src/UIEvent.ts:16


ctrlKey

Readonly ctrlKey: boolean

Implementation of

IRotateEvent.ctrlKey

Inherited from

UIEvent.ctrlKey

Defined in

ui/packages/event/src/UIEvent.ts:17


shiftKey

Readonly shiftKey: boolean

Implementation of

IRotateEvent.shiftKey

Inherited from

UIEvent.shiftKey

Defined in

ui/packages/event/src/UIEvent.ts:18


metaKey

Readonly metaKey: boolean

Implementation of

IRotateEvent.metaKey

Inherited from

UIEvent.metaKey

Defined in

ui/packages/event/src/UIEvent.ts:19


buttons

Readonly buttons: number

Implementation of

IRotateEvent.buttons

Inherited from

UIEvent.buttons

Defined in

ui/packages/event/src/UIEvent.ts:25


target

Readonly target: ILeaf

Implementation of

IRotateEvent.target

Inherited from

UIEvent.target

Defined in

ui/packages/event/src/UIEvent.ts:27


current

Readonly current: ILeaf

Implementation of

IRotateEvent.current

Inherited from

UIEvent.current

Defined in

ui/packages/event/src/UIEvent.ts:28


bubbles

Readonly bubbles: boolean = true

Implementation of

IRotateEvent.bubbles

Inherited from

UIEvent.bubbles

Defined in

ui/packages/event/src/UIEvent.ts:29

Accessors

spaceKey

get spaceKey(): boolean

Returns

boolean

Implementation of

IRotateEvent.spaceKey

Inherited from

UIEvent.spaceKey

Defined in

ui/packages/event/src/UIEvent.ts:20


left

get left(): boolean

Returns

boolean

Implementation of

IRotateEvent.left

Inherited from

UIEvent.left

Defined in

ui/packages/event/src/UIEvent.ts:22


get right(): boolean

Returns

boolean

Implementation of

IRotateEvent.right

Inherited from

UIEvent.right

Defined in

ui/packages/event/src/UIEvent.ts:23


middle

get middle(): boolean

Returns

boolean

Implementation of

IRotateEvent.middle

Inherited from

UIEvent.middle

Defined in

ui/packages/event/src/UIEvent.ts:24

Methods

stopDefault

stopDefault(): void

Returns

void

Implementation of

IRotateEvent.stopDefault

Inherited from

UIEvent.stopDefault

Defined in

leafer/packages/event/src/Event.ts:25


stopNow

stopNow(): void

Returns

void

Implementation of

IRotateEvent.stopNow

Inherited from

UIEvent.stopNow

Defined in

leafer/packages/event/src/Event.ts:30


stop

stop(): void

Returns

void

Implementation of

IRotateEvent.stop

Inherited from

UIEvent.stop

Defined in

leafer/packages/event/src/Event.ts:36


getBoxPoint

getBoxPoint(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Implementation of

IRotateEvent.getBoxPoint

Inherited from

UIEvent.getBoxPoint

Defined in

ui/packages/event/src/UIEvent.ts:36


getInnerPoint

getInnerPoint(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Implementation of

IRotateEvent.getInnerPoint

Inherited from

UIEvent.getInnerPoint

Defined in

ui/packages/event/src/UIEvent.ts:41


getLocalPoint

getLocalPoint(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Implementation of

IRotateEvent.getLocalPoint

Inherited from

UIEvent.getLocalPoint

Defined in

ui/packages/event/src/UIEvent.ts:46


getPagePoint

getPagePoint(): IPointData

Returns

IPointData

Implementation of

IRotateEvent.getPagePoint

Inherited from

UIEvent.getPagePoint

Defined in

ui/packages/event/src/UIEvent.ts:51


getInner

getInner(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Implementation of

IRotateEvent.getInner

Inherited from

UIEvent.getInner

Defined in

ui/packages/event/src/UIEvent.ts:56


getLocal

getLocal(relative?): IPointData

Parameters

NameType
relative?ILeaf

Returns

IPointData

Implementation of

IRotateEvent.getLocal

Inherited from

UIEvent.getLocal

Defined in

ui/packages/event/src/UIEvent.ts:57


getPage

getPage(): IPointData

Returns

IPointData

Implementation of

IRotateEvent.getPage

Inherited from

UIEvent.getPage

Defined in

ui/packages/event/src/UIEvent.ts:58


changeName

changeName(oldName, newName): void

Parameters

NameType
oldNamestring
newNamestring

Returns

void

Inherited from

UIEvent.changeName

Defined in

ui/packages/event/src/UIEvent.ts:60

Released under the MIT License.