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