lost-sia
Version:
Single Image Annotation Tool
22 lines (21 loc) • 982 B
TypeScript
import { CSSProperties } from 'react';
import { AnnotationSettings, Point } from '../../../types';
import { default as AnnotationMode } from '../../../models/AnnotationMode';
type BBoxProps = {
annotationMode: AnnotationMode;
annotationSettings: AnnotationSettings;
pageToStageOffset: Point;
startCoords: Point;
endCoords: Point;
svgScale: number;
svgTranslation: Point;
isSelected: boolean;
style: CSSProperties;
onDeleteNode: (coordinates: Point[]) => void;
onFinishAnnoCreate: () => void;
onIsDraggingStateChanged: (newDraggingState: boolean) => void;
onMoving: (coordinates: Point[]) => void;
onMoved: () => void;
};
declare const BBox: ({ annotationMode, annotationSettings, pageToStageOffset, startCoords, endCoords, svgScale, svgTranslation, isSelected, style, onDeleteNode, onFinishAnnoCreate, onIsDraggingStateChanged, onMoving, onMoved, }: BBoxProps) => import("react/jsx-runtime").JSX.Element;
export default BBox;