ImageFactoryHandler
Image Factory Handler
Extends
Constructors
new ImageFactoryHandler()
new ImageFactoryHandler(
id
,options
?):ImageFactoryHandler
Parameters
• id: string
• options?: Partial
<HandlerOptions
>
Returns
Inherited from
Source
Properties
id
id:
string
Inherited from
Source
options
options:
HandlerOptions
Inherited from
Source
Methods
activate()
activate(
editor
):void
Activate the handler
Parameters
• editor: Editor
Returns
void
Inherited from
Source
complete()
complete(
editor
):void
Trigger when the handler action is complete
Parameters
• editor: Editor
Returns
void
Inherited from
Source
deactivate()
deactivate(
editor
):void
Deactivate the handler
Parameters
• editor: Editor
Returns
void
Inherited from
Source
drawSelection()
drawSelection(
editor
):void
Draw ghost for the selected shape
Parameters
• editor: Editor
Returns
void
Inherited from
Source
keyDown()
keyDown(
editor
,e
):void
keyDown
Parameters
• editor: Editor
• e: KeyboardEvent
Returns
void
Inherited from
Source
keyUp()
keyUp(
editor
,e
):void
keyUp
Parameters
• editor: Editor
• e: KeyboardEvent
Returns
void
Inherited from
Source
onActivate()
onActivate(
editor
):void
Triggered when activated
Parameters
• editor: Editor
Returns
void
Overrides
Source
onDeactivate()
onDeactivate(
editor
):void
Triggered when deactivate
Parameters
• editor: Editor
Returns
void
Inherited from
Source
pointerDown()
pointerDown(
editor
,e
):void
pointerDown
Parameters
• editor: Editor
• e: CanvasPointerEvent
Returns
void
Inherited from
Abstract
Source
pointerMove()
pointerMove(
editor
,e
):void
pointerMove
Parameters
• editor: Editor
• e: CanvasPointerEvent
Returns
void
Inherited from
Abstract
Source
pointerUp()
pointerUp(
editor
,e
):void
pointerUp
Parameters
• editor: Editor
• e: CanvasPointerEvent
Returns
void
Inherited from
Abstract
Source
reset()
reset():
void
Reset the states of handler
Returns
void