UNPKG

@aurigma/design-atoms

Version:

Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.

15 lines (14 loc) 821 B
import { InputHandlerType } from "./InputHandlerType"; import { Viewer } from "./../../Viewer"; import { DefaultInputHandler } from "./Default/DefaultInputHandler"; import { IInputHandlerArgs } from "./IInputHandlerArgs"; import { CreateInputHandler } from "./Create/CreateInputHandler"; import { LockedInputHandler } from "./Locked/LockedInputHandler"; import { SelectPixelInputHandler } from "./SelectPixel/SelectPixelInputHandler"; import { IInputManager } from "./../InputManager/IInputManager"; export declare class InputHandlerFactory { private _viewer; private _inputManager; constructor(_viewer: Viewer, _inputManager: IInputManager); create(type: InputHandlerType, args: IInputHandlerArgs): DefaultInputHandler | CreateInputHandler | LockedInputHandler | SelectPixelInputHandler; }