Class: EditorScaleEvent
Hierarchy
↳
EditorScaleEvent
Implements
Table of contents
Constructors
Properties
- SELECT
- HOVER
- target
- editor
- value
- oldValue
- worldOrigin
- origin
- SCALE
- scaleX
- scaleY
- transform
- drag
- direction
- lockRatio
- around
- type
- current
- bubbles
- phase
- isStopDefault
- isStop
- isStopNow
Accessors
Methods
Constructors
constructor
• new EditorScaleEvent(type
, data?
): EditorScaleEvent
Parameters
Name | Type |
---|---|
type | string |
data? | IEditorScaleEvent |
Returns
Overrides
Defined in
in/packages/editor/src/event/EditorScaleEvent.ts:24
Properties
SELECT
▪ Static
SELECT: string
= 'editor.select'
Inherited from
Defined in
in/packages/editor/src/event/EditorEvent.ts:13
HOVER
▪ Static
HOVER: string
= 'editor.hover'
Inherited from
Defined in
in/packages/editor/src/event/EditorEvent.ts:14
target
• Readonly
target: IUI
Implementation of
Inherited from
Defined in
in/packages/editor/src/event/EditorEvent.ts:16
editor
• Readonly
editor: IEditor
Implementation of
Inherited from
Defined in
in/packages/editor/src/event/EditorEvent.ts:17
value
Implementation of
Inherited from
Defined in
in/packages/editor/src/event/EditorEvent.ts:19
oldValue
• Readonly
oldValue: IUI
| IUI
[]
Implementation of
Inherited from
Defined in
in/packages/editor/src/event/EditorEvent.ts:20
worldOrigin
• Readonly
worldOrigin: IPointData
Implementation of
Inherited from
Defined in
in/packages/editor/src/event/EditorEvent.ts:25
origin
• Readonly
origin: IPointData
Implementation of
Inherited from
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
Defined in
in/packages/editor/src/event/EditorScaleEvent.ts:14
scaleY
• Readonly
scaleY: number
Implementation of
Defined in
in/packages/editor/src/event/EditorScaleEvent.ts:15
transform
• Optional
Readonly
transform: IMatrixData
Implementation of
Defined in
in/packages/editor/src/event/EditorScaleEvent.ts:16
drag
• Readonly
drag: IDragEvent
Implementation of
Defined in
in/packages/editor/src/event/EditorScaleEvent.ts:18
direction
• Readonly
direction: Direction9
Implementation of
Defined in
in/packages/editor/src/event/EditorScaleEvent.ts:20
lockRatio
• Readonly
lockRatio: boolean
Implementation of
Defined in
in/packages/editor/src/event/EditorScaleEvent.ts:21
around
• Readonly
around: IAround
Implementation of
Defined in
in/packages/editor/src/event/EditorScaleEvent.ts:22
type
• Readonly
type: string
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:9
current
• Readonly
current: IEventTarget
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:11
bubbles
• Readonly
bubbles: boolean
= false
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:13
phase
• Readonly
phase: number
Implementation of
Inherited from
Defined in
leafer/packages/event/src/Event.ts:14
isStopDefault
• isStopDefault: boolean
Implementation of
IEditorScaleEvent.isStopDefault
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
Accessors
list
• get
list(): IUI
[]
Returns
IUI
[]
Implementation of
Inherited from
EditorEvent.list
Defined in
in/packages/editor/src/event/EditorEvent.ts:22
oldList
• get
oldList(): IUI
[]
Returns
IUI
[]
Implementation of
Inherited from
EditorEvent.oldList
Defined in
in/packages/editor/src/event/EditorEvent.ts:23
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