/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { IColor, IInk } from "./interfaces"; export declare class InkCanvas { private readonly canvas; private readonly model; private readonly context; private readonly localActiveStrokeMap; private readonly currentPen; constructor(canvas: HTMLCanvasElement, model: IInk); setPenColor(color: IColor): void; replay(): void; clear(): void; sizeCanvasBackingStore(): void; private handlePointerDown; private handlePointerMove; private handlePointerUp; private appendPointerEventToStroke; private animateStroke; /** * Clears the canvas */ private clearCanvas; private redraw; private drawStrokeSegment; private handleStylus; } //# sourceMappingURL=inkCanvas.d.ts.map