scanbot-web-sdk
Version:
Scanbot Web Document and Barcode Scanner SDK
10 lines (9 loc) • 326 B
TypeScript
import { CroppingResult } from "../model/response/cropping-result";
export interface ICroppingViewHandle {
apply(): Promise<CroppingResult>;
rotate(rotations: number): Promise<void>;
detect(): Promise<void>;
dispose(): void;
/** Resets the polygon to cover the entire image. */
resetPolygon(): void;
}