UNPKG

@drizm/ng-whiteboard

Version:

A Canvas component for Angular which supports free drawing.

18 lines (17 loc) 684 B
import { CanvasWhiteboardShapeOptions } from './shape/canvas-whiteboard-shape-options'; export declare enum CanvasWhiteboardUpdateType { START = 0, DRAG = 1, STOP = 2 } export declare class CanvasWhiteboardUpdate { x?: number; y?: number; type?: CanvasWhiteboardUpdateType; UUID?: string; selectedShape?: string; selectedShapeOptions?: CanvasWhiteboardShapeOptions; static deserializeJson(json: any): CanvasWhiteboardUpdate | null; constructor(x?: number, y?: number, type?: CanvasWhiteboardUpdateType, UUID?: string, selectedShape?: string, selectedShapeOptions?: CanvasWhiteboardShapeOptions); stringify(): string; }