Properties
link
link: { endArrow: 0 | 1; lineWidth: number; linkType: 0 | 1 | 2; startArrow: 0 | 1; stroke: string; text: { fontFamily: string; fontSize: number; stroke: string } }
Type declaration
-
endArrow: 0 | 1
-
lineWidth: number
-
linkType: 0 | 1 | 2
-
startArrow: 0 | 1
-
stroke: string
-
text: { fontFamily: string; fontSize: number; stroke: string }
-
fontFamily: string
-
fontSize: number
-
stroke: string
pen
pen: { lineWidth: number; stroke: string }
Type declaration
-
lineWidth: number
-
stroke: string
shape
shape: { fill: undefined | string; lineWidth: number; stroke: undefined | string; text: { fill: undefined | string; fontFamily: string; fontSize: number; stroke: string; textAlign: "left" | "right" | "center"; verticalAlign: "top" | "bottom" | "middle" } }
Type declaration
-
fill: undefined | string
-
lineWidth: number
-
stroke: undefined | string
-
text: { fill: undefined | string; fontFamily: string; fontSize: number; stroke: string; textAlign: "left" | "right" | "center"; verticalAlign: "top" | "bottom" | "middle" }
-
fill: undefined | string
-
fontFamily: string
-
fontSize: number
-
stroke: string
-
textAlign: "left" | "right" | "center"
-
verticalAlign: "top" | "bottom" | "middle"
text
text: { fill: undefined | string; fontFamily: string; fontSize: number; stroke: string; textAlign: "left" | "right" | "center" }
Type declaration
-
fill: undefined | string
-
fontFamily: string
-
fontSize: number
-
stroke: string
-
textAlign: "left" | "right" | "center"
连接样式