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 ​

src/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 ​

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


SELECT ​

â–Ş Static SELECT: string = 'editor.select'

Inherited from ​

EditorEvent.SELECT

Defined in ​

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


AFTER_SELECT ​

â–Ş Static AFTER_SELECT: string = 'editor.after_select'

Inherited from ​

EditorEvent.AFTER_SELECT

Defined in ​

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


BEFORE_HOVER ​

â–Ş Static BEFORE_HOVER: string = 'editor.before_hover'

Inherited from ​

EditorEvent.BEFORE_HOVER

Defined in ​

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


HOVER ​

â–Ş Static HOVER: string = 'editor.hover'

Inherited from ​

EditorEvent.HOVER

Defined in ​

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


target ​

• Readonly target: IUI

Implementation of ​

IEditorScaleEvent.target

Inherited from ​

EditorEvent.target

Defined in ​

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


editor ​

• Readonly editor: IEditor

Implementation of ​

IEditorScaleEvent.editor

Inherited from ​

EditorEvent.editor

Defined in ​

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


value ​

• Readonly value: IUI | IUI[]

Implementation of ​

IEditorScaleEvent.value

Inherited from ​

EditorEvent.value

Defined in ​

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


oldValue ​

• Readonly oldValue: IUI | IUI[]

Implementation of ​

IEditorScaleEvent.oldValue

Inherited from ​

EditorEvent.oldValue

Defined in ​

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


worldOrigin ​

• Readonly worldOrigin: IPointData

Implementation of ​

IEditorScaleEvent.worldOrigin

Inherited from ​

EditorEvent.worldOrigin

Defined in ​

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


origin ​

• Readonly origin: IPointData

Implementation of ​

IEditorScaleEvent.origin

Inherited from ​

EditorEvent.origin

Defined in ​

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


BEFORE_SCALE ​

â–Ş Static BEFORE_SCALE: string = 'editor.before_scale'

Defined in ​

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


SCALE ​

â–Ş Static SCALE: string = 'editor.scale'

Defined in ​

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


scaleX ​

• Readonly scaleX: number

Implementation of ​

IEditorScaleEvent.scaleX

Defined in ​

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


scaleY ​

• Readonly scaleY: number

Implementation of ​

IEditorScaleEvent.scaleY

Defined in ​

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


transform ​

• Optional Readonly transform: IMatrixData

Implementation of ​

IEditorScaleEvent.transform

Defined in ​

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


drag ​

• Readonly drag: IDragEvent

Implementation of ​

IEditorScaleEvent.drag

Defined in ​

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


direction ​

• Readonly direction: Direction9

Implementation of ​

IEditorScaleEvent.direction

Defined in ​

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


lockRatio ​

• Readonly lockRatio: boolean

Implementation of ​

IEditorScaleEvent.lockRatio

Defined in ​

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


around ​

• Readonly around: IAround

Implementation of ​

IEditorScaleEvent.around

Defined in ​

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


type ​

• Readonly type: string

Implementation of ​

IEditorScaleEvent.type

Inherited from ​

EditorEvent.type

Defined in ​

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


current ​

• Readonly current: IEventTarget

Implementation of ​

IEditorScaleEvent.current

Inherited from ​

EditorEvent.current

Defined in ​

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


bubbles ​

• Readonly bubbles: boolean = false

Implementation of ​

IEditorScaleEvent.bubbles

Inherited from ​

EditorEvent.bubbles

Defined in ​

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


phase ​

• Readonly phase: number

Implementation of ​

IEditorScaleEvent.phase

Inherited from ​

EditorEvent.phase

Defined in ​

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


isStopDefault ​

• isStopDefault: boolean

Implementation of ​

IEditorScaleEvent.isStopDefault

Inherited from ​

EditorEvent.isStopDefault

Defined in ​

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


isStop ​

• isStop: boolean

Implementation of ​

IEditorScaleEvent.isStop

Inherited from ​

EditorEvent.isStop

Defined in ​

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


isStopNow ​

• isStopNow: boolean

Implementation of ​

IEditorScaleEvent.isStopNow

Inherited from ​

EditorEvent.isStopNow

Defined in ​

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

Accessors ​

list ​

• get list(): IUI[]

Returns ​

IUI[]

Implementation of ​

IEditorScaleEvent.list

Inherited from ​

EditorEvent.list

Defined in ​

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


oldList ​

• get oldList(): IUI[]

Returns ​

IUI[]

Implementation of ​

IEditorScaleEvent.oldList

Inherited from ​

EditorEvent.oldList

Defined in ​

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

Methods ​

stopDefault ​

â–¸ stopDefault(): void

Returns ​

void

Implementation of ​

IEditorScaleEvent.stopDefault

Inherited from ​

EditorEvent.stopDefault

Defined in ​

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


stopNow ​

â–¸ stopNow(): void

Returns ​

void

Implementation of ​

IEditorScaleEvent.stopNow

Inherited from ​

EditorEvent.stopNow

Defined in ​

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


stop ​

â–¸ stop(): void

Returns ​

void

Implementation of ​

IEditorScaleEvent.stop

Inherited from ​

EditorEvent.stop

Defined in ​

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

Released under the MIT License.