PathStyle

路径端点的连接方式

属性

cap

路径端点的连接方式

cap?: "butt" | "round" | "square"

类型: "butt" | "round" | "square"

color

路径颜色

color: string | number[]

类型: string | number[]

id

样式唯一标识符

id?: string | number

类型: string | number

join

路径交点的连接方式

join?: "round" | "miter" | "bevel"

类型: "round" | "miter" | "bevel"

placement

路径放置位置:'center'(中心)|'bottom'(底部)|'top'(顶部)

placement?: "center" | "top" | "bottom"

类型: "center" | "top" | "bottom"

profile

路径截面形状:'circle'(圆形管道)|'quad'(矩形)

profile?: "circle" | "quad"

类型: "circle" | "quad"

profileRotation

截面旋转方式:"heading"(朝向旋转)|"all"(全方向旋转)

profileRotation?: "all" | "heading"

类型: "all" | "heading"

size

路径宽度数组,支持变宽路径

size: number[] | undefined[]

类型: number[] | undefined[]

BIMFlux AI