Class: EditTool
Hierarchy
↳
EditTool
↳↳
LineEditTool
Implements
Table of contents
Constructors
Properties
Accessors
Methods
- registerEditTool
- onMove
- onScale
- onRotate
- onSkew
- load
- update
- unload
- registerInnerEditor
- onCreate
- create
- onLoad
- onUpdate
- onUnload
- onDestroy
- destroy
Constructors
constructor
• new EditTool(editor
): EditTool
Parameters
Name | Type |
---|---|
editor | IEditor |
Returns
Inherited from
Defined in
in/packages/editor/src/tool/InnerEditor.ts:28
Properties
editTarget
• editTarget: IUI
Implementation of
Inherited from
Defined in
in/packages/editor/src/tool/InnerEditor.ts:16
config
• config: IObject
Implementation of
Inherited from
Defined in
in/packages/editor/src/tool/InnerEditor.ts:18
editor
• editor: IEditor
Implementation of
Inherited from
Defined in
in/packages/editor/src/tool/InnerEditor.ts:20
view
• view: IGroup
Implementation of
Inherited from
Defined in
in/packages/editor/src/tool/InnerEditor.ts:23
eventIds
• eventIds: IEventListenerId
[]
Implementation of
Inherited from
Defined in
in/packages/editor/src/tool/InnerEditor.ts:25
Accessors
tag
• get
tag(): string
Returns
string
Implementation of
Overrides
InnerEditor.tag
Defined in
in/packages/editor/src/tool/EditTool.ts:15
editBox
• get
editBox(): IEditBox
Returns
Implementation of
Inherited from
InnerEditor.editBox
Defined in
in/packages/editor/src/tool/InnerEditor.ts:21
Methods
registerEditTool
▸ registerEditTool(): void
Returns
void
Defined in
in/packages/editor/src/tool/EditTool.ts:10
onMove
▸ onMove(e
): void
Parameters
Name | Type |
---|---|
e | IEditorMoveEvent |
Returns
void
Implementation of
Defined in
in/packages/editor/src/tool/EditTool.ts:20
onScale
▸ onScale(e
): void
Parameters
Name | Type |
---|---|
e | IEditorScaleEvent |
Returns
void
Implementation of
Defined in
in/packages/editor/src/tool/EditTool.ts:30
onRotate
▸ onRotate(e
): void
Parameters
Name | Type |
---|---|
e | IEditorRotateEvent |
Returns
void
Implementation of
Defined in
in/packages/editor/src/tool/EditTool.ts:45
onSkew
▸ onSkew(e
): void
Parameters
Name | Type |
---|---|
e | IEditorSkewEvent |
Returns
void
Implementation of
Defined in
in/packages/editor/src/tool/EditTool.ts:60
load
▸ load(): void
Returns
void
Implementation of
Overrides
Defined in
in/packages/editor/src/tool/EditTool.ts:77
update
▸ update(): void
Returns
void
Implementation of
Overrides
Defined in
in/packages/editor/src/tool/EditTool.ts:82
unload
▸ unload(): void
Returns
void
Implementation of
Overrides
Defined in
in/packages/editor/src/tool/EditTool.ts:94
registerInnerEditor
▸ registerInnerEditor(): void
Returns
void
Inherited from
InnerEditor.registerInnerEditor
Defined in
in/packages/editor/src/tool/InnerEditor.ts:9
onCreate
▸ onCreate(): void
Returns
void
Implementation of
Inherited from
Defined in
in/packages/editor/src/tool/InnerEditor.ts:34
create
▸ create(): void
Returns
void
Implementation of
Inherited from
Defined in
in/packages/editor/src/tool/InnerEditor.ts:35
onLoad
▸ onLoad(): void
Returns
void
Implementation of
Inherited from
Defined in
in/packages/editor/src/tool/InnerEditor.ts:43
onUpdate
▸ onUpdate(): void
Returns
void
Implementation of
Inherited from
Defined in
in/packages/editor/src/tool/InnerEditor.ts:49
onUnload
▸ onUnload(): void
Returns
void
Inherited from
Defined in
in/packages/editor/src/tool/InnerEditor.ts:52
onDestroy
▸ onDestroy(): void
Returns
void
Implementation of
Inherited from
Defined in
in/packages/editor/src/tool/InnerEditor.ts:58
destroy
▸ destroy(): void
Returns
void