our-medical
Version:
medical image vue component
25 lines (24 loc) • 827 B
TypeScript
import { type Types as toolsTypes } from '@cornerstonejs/tools';
import type { Point } from '@doodle3d/clipper-js';
/**
* @description 用svg path元素绘制剂量线, 依赖于cornerstoneTools的svgDrawingHelper, 不可独立使用
* @author jiannan.jiao
* @date 28/11/2023
* @export
* @param {toolsTypes.SVGDrawingHelper} svgDrawingHelper
* @param {string} annotationUID
* @param {string} polylineUID
* @param {Point[][]} paths
* @param {{
* fill?: string
* fillOpacity?: number
* stroke?: string
* strokeWidth?: number
* }} options
*/
export default function drawPath(svgDrawingHelper: toolsTypes.SVGDrawingHelper, annotationUID: string, polylineUID: string, paths: Point[][], options: {
fill?: string;
fillOpacity?: number;
stroke?: string;
strokeWidth?: number;
}): void;