@lunit/insight-viewer
Version:
Based on the cornerstone library, it provides several components for handling Dicom images
18 lines (17 loc) • 558 B
TypeScript
import type { Point } from '../types';
import type { Annotation as AnnotationType } from '../types';
interface GetDrawingStartPointParams {
mouseDownPoint: Point;
annotation: AnnotationType | null;
}
/**
* If there is an annotation selected,
*
* Drawing start point should be obtained based
*
* on the Editing point and the currently clicked coordinate value.
*
* This function obtains its value.
*/
export declare const getDrawingStartPoint: ({ mouseDownPoint, annotation }: GetDrawingStartPointParams) => Point;
export {};