UNPKG

@lunit/insight-viewer

Version:

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

12 lines (11 loc) 436 B
import type { Point } from '../../types'; import type { RulerAnnotation } from '../../types'; declare const useRulerAnnotation: ({ startAndEndPoint, measuredValue, unit, textPoint }: RulerAnnotation) => { rulerLine: string; ref: (ref: SVGTextElement) => void; connectingLine: string; formattedValue: string; textBoxPoint: Point; visibility: "visible" | "hidden"; }; export default useRulerAnnotation;