Symbol

Symbol 是所有符号的基类。

构造函数

Symbol

Symbol 是所有符号的基类。

new Symbol(properties?)

参数

返回:Symbol Symbol对象

属性

type

符号类型。

type: "simple-line" | "picture-marker" | "simple-fill" | "simple-marker" | "text" | "label-3d" | "line-3d" | "mesh-3d" | "point-3d" | "polygon-3d" | "picture-fill" | "shield-label-symbol" | "web-style" | "cim"

类型: "simple-line" | "picture-marker" | "simple-fill" | "simple-marker" | "text" | "label-3d" | "line-3d" | "mesh-3d" | "point-3d" | "polygon-3d" | "picture-fill" | "shield-label-symbol" | "web-style" | "cim"

访问器

color

符号的颜色。

get color(): Color

返回: Color 符号的颜色。

set color(value: ColorProperties): void

参数

返回: void

方法

toJSON

将此类的实例转换为 JSON 表示形式。

toJSON(): any

返回:any

BIMFlux AI