@lunit/insight-viewer
Version:
Based on the cornerstone library, it provides several components for handling Dicom images
10 lines (9 loc) • 531 B
TypeScript
import type { EditMode, DrawablePolygonAnnotation, DrawableFreeLineAnnotation, DrawableLineAnnotation, DrawableArrowLineAnnotation } from '../../types';
export interface PolylineDrawerProps {
annotation: DrawablePolygonAnnotation | DrawableFreeLineAnnotation | DrawableLineAnnotation | DrawableArrowLineAnnotation;
isSelectedMode: boolean;
showAnnotationLabel: boolean;
selectedAnnotationLabel: string | number | null;
setAnnotationEditMode: (mode: EditMode) => void;
isPolygonSelected: boolean;
}