Skip to content

Class: EditorScaleEvent

Hierarchy

Implements

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new EditorScaleEvent(type, data?): EditorScaleEvent

Parameters

NameType
typestring
data?IEditorScaleEvent

Returns

EditorScaleEvent

Overrides

EditorEvent.constructor

Defined in

in/packages/editor/src/event/EditorScaleEvent.ts:24

Properties

SELECT

Static SELECT: string = 'editor.select'

Inherited from

EditorEvent.SELECT

Defined in

in/packages/editor/src/event/EditorEvent.ts:13


HOVER

Static HOVER: string = 'editor.hover'

Inherited from

EditorEvent.HOVER

Defined in

in/packages/editor/src/event/EditorEvent.ts:14


target

Readonly target: IUI

Implementation of

IEditorScaleEvent.target

Inherited from

EditorEvent.target

Defined in

in/packages/editor/src/event/EditorEvent.ts:16


editor

Readonly editor: IEditor

Implementation of

IEditorScaleEvent.editor

Inherited from

EditorEvent.editor

Defined in

in/packages/editor/src/event/EditorEvent.ts:17


value

Readonly value: IUI | IUI[]

Implementation of

IEditorScaleEvent.value

Inherited from

EditorEvent.value

Defined in

in/packages/editor/src/event/EditorEvent.ts:19


oldValue

Readonly oldValue: IUI | IUI[]

Implementation of

IEditorScaleEvent.oldValue

Inherited from

EditorEvent.oldValue

Defined in

in/packages/editor/src/event/EditorEvent.ts:20


worldOrigin

Readonly worldOrigin: IPointData

Implementation of

IEditorScaleEvent.worldOrigin

Inherited from

EditorEvent.worldOrigin

Defined in

in/packages/editor/src/event/EditorEvent.ts:25


origin

Readonly origin: IPointData

Implementation of

IEditorScaleEvent.origin

Inherited from

EditorEvent.origin

Defined in

in/packages/editor/src/event/EditorEvent.ts:26


SCALE

Static SCALE: string = 'editor.scale'

Defined in

in/packages/editor/src/event/EditorScaleEvent.ts:11


scaleX

Readonly scaleX: number

Implementation of

IEditorScaleEvent.scaleX

Defined in

in/packages/editor/src/event/EditorScaleEvent.ts:14


scaleY

Readonly scaleY: number

Implementation of

IEditorScaleEvent.scaleY

Defined in

in/packages/editor/src/event/EditorScaleEvent.ts:15


transform

Optional Readonly transform: IMatrixData

Implementation of

IEditorScaleEvent.transform

Defined in

in/packages/editor/src/event/EditorScaleEvent.ts:16


drag

Readonly drag: IDragEvent

Implementation of

IEditorScaleEvent.drag

Defined in

in/packages/editor/src/event/EditorScaleEvent.ts:18


direction

Readonly direction: Direction9

Implementation of

IEditorScaleEvent.direction

Defined in

in/packages/editor/src/event/EditorScaleEvent.ts:20


lockRatio

Readonly lockRatio: boolean

Implementation of

IEditorScaleEvent.lockRatio

Defined in

in/packages/editor/src/event/EditorScaleEvent.ts:21


around

Readonly around: IAround

Implementation of

IEditorScaleEvent.around

Defined in

in/packages/editor/src/event/EditorScaleEvent.ts:22


type

Readonly type: string

Implementation of

IEditorScaleEvent.type

Inherited from

EditorEvent.type

Defined in

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


current

Readonly current: IEventTarget

Implementation of

IEditorScaleEvent.current

Inherited from

EditorEvent.current

Defined in

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


bubbles

Readonly bubbles: boolean = false

Implementation of

IEditorScaleEvent.bubbles

Inherited from

EditorEvent.bubbles

Defined in

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


phase

Readonly phase: number

Implementation of

IEditorScaleEvent.phase

Inherited from

EditorEvent.phase

Defined in

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


isStopDefault

isStopDefault: boolean

Implementation of

IEditorScaleEvent.isStopDefault

Inherited from

EditorEvent.isStopDefault

Defined in

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


isStop

isStop: boolean

Implementation of

IEditorScaleEvent.isStop

Inherited from

EditorEvent.isStop

Defined in

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


isStopNow

isStopNow: boolean

Implementation of

IEditorScaleEvent.isStopNow

Inherited from

EditorEvent.isStopNow

Defined in

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

Accessors

list

get list(): IUI[]

Returns

IUI[]

Implementation of

IEditorScaleEvent.list

Inherited from

EditorEvent.list

Defined in

in/packages/editor/src/event/EditorEvent.ts:22


oldList

get oldList(): IUI[]

Returns

IUI[]

Implementation of

IEditorScaleEvent.oldList

Inherited from

EditorEvent.oldList

Defined in

in/packages/editor/src/event/EditorEvent.ts:23

Methods

stopDefault

stopDefault(): void

Returns

void

Implementation of

IEditorScaleEvent.stopDefault

Inherited from

EditorEvent.stopDefault

Defined in

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


stopNow

stopNow(): void

Returns

void

Implementation of

IEditorScaleEvent.stopNow

Inherited from

EditorEvent.stopNow

Defined in

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


stop

stop(): void

Returns

void

Implementation of

IEditorScaleEvent.stop

Inherited from

EditorEvent.stop

Defined in

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

Released under the MIT License.