scanbot-web-sdk
Version:
Scanbot Web Document and Barcode Scanner SDK
13 lines (12 loc) • 515 B
TypeScript
import React from "react";
import { Point } from "../../utils/dto/Point";
export declare const DocumentPolygonAnimationDuration = 0.1;
declare class DocumentPolygon extends React.Component<any, any> {
polygon: SVGPolygonElement;
latestValidPoints: Point[];
constructor(props: any);
update(points: Point[], animatedPoints: Point[], isOk: boolean, isVisible: boolean): void;
pointStringOrLatestValidPoints(points: Point[]): string;
render(): React.ReactNode;
}
export default DocumentPolygon;