INoteModel
当前批注颜色
关系
Extends
INoteModel Extends IPluginModel
继承: IPluginModel
属性
color
当前批注颜色
color: string
类型: string
currentGroupId
当前活动的批注分组ID
currentGroupId: string | number
类型: string | number
noteGroups
所有批注分组的集合
noteGroups: INoteGroup
类型: INoteGroup
props
模型的属性配置
props: IPluginModelProps
size
当前批注尺寸
size: number
类型: number
type
当前选中的批注类型
type: string
类型: string
方法
changeDomGraphic
改变DOM图形元素的批注状态
changeDomGraphic(type): void
参数
- type:
string批注状态类型
返回:void
clear
清空所有批注
clear(): void
返回:void
create
批量创建批注分组
createGroup
创建新的批注分组
createNote
创建单个批注
delGroup
删除批注分组
delGroup(id): void
参数
- id:
number要删除的分组ID
返回:void
delNote
删除指定批注
delNote(id): void
参数
- id:
number要删除的批注ID
返回:void
handleCreateNote
通过鼠标交互创建批注
handleCreateNote(type): void
参数
- type:
string要创建的批注类型
返回:void
saveToImg
截图并下载当前批注场景
saveToImg(): void
返回:void

BIMFlux AI
