blockly >评论 >RenderedWorkspaceComment >(构造函数)

comments.RenderedWorkspaceComment.(constructor)

构造工作区备注,包括视图。

Signature:

constructor(workspace: WorkspaceSvg, id?: string);

参数

参数 类型 说明
工作区 WorkspaceSvg
id 字符串 (可选)