UNPKG

1.47 kBTypeScriptView Raw
1export function drawRect(elem: any, rectData: any): any;
2export function drawFace(element: any, faceData: any): any;
3export function drawCircle(element: any, circleData: any): any;
4export function drawText(elem: any, textData: any): any;
5export function drawLabel(elem: any, txtObject: any): void;
6export function drawSection(elem: any, section: any, conf: any): void;
7export function drawTask(elem: any, task: any, conf: any): void;
8export function drawBackgroundRect(elem: any, bounds: any): void;
9export function getTextObj(): {
10 x: number;
11 y: number;
12 fill: undefined;
13 'text-anchor': string;
14 width: number;
15 height: number;
16 textMargin: number;
17 rx: number;
18 ry: number;
19};
20export function getNoteRect(): {
21 x: number;
22 y: number;
23 width: number;
24 anchor: string;
25 height: number;
26 rx: number;
27 ry: number;
28};
29export function drawNode(elem: any, node: any, fullSection: any, conf: any): any;
30export function getVirtualNodeHeight(elem: any, node: any, conf: any): any;
31declare namespace _default {
32 export { drawRect };
33 export { drawCircle };
34 export { drawSection };
35 export { drawText };
36 export { drawLabel };
37 export { drawTask };
38 export { drawBackgroundRect };
39 export { getTextObj };
40 export { getNoteRect };
41 export { initGraphics };
42 export { drawNode };
43 export { getVirtualNodeHeight };
44}
45export default _default;
46declare function initGraphics(graphics: any): void;