@gorpacrate/core-graphics
Version:
A core library for creating shape-based graphic editors
7 lines (6 loc) • 539 B
TypeScript
import { IEditorEvent } from '../editor-events';
import { IEditorState } from '../editor-state';
export default function rubberBandStateReducer(currentState: IEditorState, ev: IEditorEvent): IEditorState;
export declare function rubberBandEnterReducer(currentState: IEditorState, ev: IEditorEvent): IEditorState;
export declare function rubberBandStateUpdateReducer(currentState: IEditorState, ev: IEditorEvent): IEditorState;
export declare function rubberBandFinishingReducer(currentState: IEditorState, ev: IEditorEvent): IEditorState;