Skip to content

Class: EditorScaleEvent โ€‹

Hierarchy โ€‹

Implements โ€‹

Table of contents โ€‹

Constructors โ€‹

Properties โ€‹

Accessors โ€‹

Methods โ€‹

Constructors โ€‹

constructor โ€‹

โ€ข new EditorScaleEvent(type, data?)

Parameters โ€‹

NameType
typestring
data?IEditorScaleEvent

Overrides โ€‹

EditorEvent.constructor

Defined in โ€‹

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

Properties โ€‹

BEFORE_SELECT โ€‹

โ–ช Static BEFORE_SELECT: string = 'editor.before_select'

Inherited from โ€‹

EditorEvent.BEFORE_SELECT

Defined in โ€‹

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


SELECT โ€‹

โ–ช Static SELECT: string = 'editor.select'

Inherited from โ€‹

EditorEvent.SELECT

Defined in โ€‹

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


BEFORE_HOVER โ€‹

โ–ช Static BEFORE_HOVER: string = 'editor.before_hover'

Inherited from โ€‹

EditorEvent.BEFORE_HOVER

Defined in โ€‹

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


HOVER โ€‹

โ–ช Static HOVER: string = 'editor.hover'

Inherited from โ€‹

EditorEvent.HOVER

Defined in โ€‹

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


target โ€‹

โ€ข Readonly target: IUI

Implementation of โ€‹

IEditorScaleEvent.target

Inherited from โ€‹

EditorEvent.target

Defined in โ€‹

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


editor โ€‹

โ€ข Readonly editor: IEditor

Implementation of โ€‹

IEditorScaleEvent.editor

Inherited from โ€‹

EditorEvent.editor

Defined in โ€‹

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


value โ€‹

โ€ข Readonly value: IUI | IUI[]

Implementation of โ€‹

IEditorScaleEvent.value

Inherited from โ€‹

EditorEvent.value

Defined in โ€‹

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


oldValue โ€‹

โ€ข Readonly oldValue: IUI | IUI[]

Implementation of โ€‹

IEditorScaleEvent.oldValue

Inherited from โ€‹

EditorEvent.oldValue

Defined in โ€‹

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


worldOrigin โ€‹

โ€ข Readonly worldOrigin: IPointData

Implementation of โ€‹

IEditorScaleEvent.worldOrigin

Inherited from โ€‹

EditorEvent.worldOrigin

Defined in โ€‹

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


origin โ€‹

โ€ข Readonly origin: IPointData

Implementation of โ€‹

IEditorScaleEvent.origin

Inherited from โ€‹

EditorEvent.origin

Defined in โ€‹

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


BEFORE_SCALE โ€‹

โ–ช Static BEFORE_SCALE: string = 'editor.before_scale'

Defined in โ€‹

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


SCALE โ€‹

โ–ช Static SCALE: string = 'editor.scale'

Defined in โ€‹

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


scaleX โ€‹

โ€ข Readonly scaleX: number

Implementation of โ€‹

IEditorScaleEvent.scaleX

Defined in โ€‹

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


scaleY โ€‹

โ€ข Readonly scaleY: number

Implementation of โ€‹

IEditorScaleEvent.scaleY

Defined in โ€‹

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


transform โ€‹

โ€ข Optional Readonly transform: IMatrixData

Implementation of โ€‹

IEditorScaleEvent.transform

Defined in โ€‹

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


drag โ€‹

โ€ข Readonly drag: IDragEvent

Implementation of โ€‹

IEditorScaleEvent.drag

Defined in โ€‹

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


direction โ€‹

โ€ข Readonly direction: Direction9

Implementation of โ€‹

IEditorScaleEvent.direction

Defined in โ€‹

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


lockRatio โ€‹

โ€ข Readonly lockRatio: boolean

Implementation of โ€‹

IEditorScaleEvent.lockRatio

Defined in โ€‹

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


around โ€‹

โ€ข Readonly around: IAround

Implementation of โ€‹

IEditorScaleEvent.around

Defined in โ€‹

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


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:25


oldList โ€‹

โ€ข get oldList(): IUI[]

Returns โ€‹

IUI[]

Implementation of โ€‹

IEditorScaleEvent.oldList

Inherited from โ€‹

EditorEvent.oldList

Defined in โ€‹

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

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.