/** * 包含BpmnRenderer所需的SVG路径的映射。 */ export default function CustomPathMap(): void; export default class CustomPathMap { pathMap: { USER_TASK: { d: string; height: number; width: number; heightElements: number[]; widthElements: number[]; }; API_TASK: { d: string; height: number; width: number; heightElements: number[]; widthElements: number[]; }; NOTIFY_TASK: { d: string; height: number; width: number; heightElements: number[]; widthElements: number[]; }; RULE_TASK: { d: string; height: number; width: number; heightElements: number[]; widthElements: number[]; }; AGENCY_TASK: { d: string; height: number; width: number; heightElements: number[]; widthElements: number[]; }; SCRIPT_TASK: { d: string; height: number; width: number; heightElements: number[]; widthElements: number[]; }; }; getRawPath: (pathId: any) => any; /** * Scales the path to the given height and width. * * @param {string} pathId The ID of the path. * @param {Object} param
* Example param object scales the path to 60% size of the container (data.width, data.height). * { * xScaleFactor: 0.6, * yScaleFactor:0.6, * containerWidth: data.width, * containerHeight: data.height, * position: { * mx: 0.46, * my: 0.2, * } * } * */ getScaledPath: (pathId: string, param: any) => string; }