Constructors
Protected
constructor
- new BaseTool(notifier, description): BaseTool
Properties
Readonly
description
description: string
Methods
canReceiveInputInReadOnlyEditor
- canReceiveInputInReadOnlyEditor(): boolean
Returns boolean
isEnabled
- isEnabled(): boolean
Returns boolean
onContextMenu
- onContextMenu(_event): boolean
Returns boolean
onCopy
- onCopy(_event): boolean
Returns boolean
onDestroy
- onDestroy(): void
Returns void
onGestureCancel
- onGestureCancel(_event): void
Returns void
onKeyPress
- onKeyPress(_event): boolean
Returns boolean
onKeyUp
- onKeyUp(_event): boolean
Returns boolean
onPaste
- onPaste(_event): boolean
Returns boolean
onPointerDown
- onPointerDown(_event): boolean
Returns boolean
onPointerMove
- onPointerMove(_event): void
Returns void
onPointerUp
- onPointerUp(_event): boolean | void
Returns boolean | void
onWheel
- onWheel(_event): boolean
Returns boolean
setEnabled
- setEnabled(enabled): void
Returns void
setInputMapper
- setInputMapper(mapper): void
Returns void
setToolGroup
- setToolGroup(group): void
Returns void
OpenSource licenses
Override this to allow this tool to be enabled in a read-only editor