UNPKG

@lunit/insight-viewer

Version:

Based on the cornerstone library, it provides several components for handling Dicom images

14 lines (13 loc) 506 B
import type { AreaAnnotation } from '../../types'; import type { Point } from '../../types'; declare const useCircleAnnotation: ({ centerPoint, radius, measuredValue, textPoint, unit }: AreaAnnotation) => { centerPointOnCanvas: Point; endPointOnCanvas: Point; ref: (ref: SVGTextElement) => void; formattedValue: string; drawingRadius: number; connectingLine: string; textBoxPoint: Point; visibility: "visible" | "hidden"; }; export default useCircleAnnotation;