blockly > 气泡 > TextBubble > (构造函数)
bubbles.TextBubble.(constructor)
构造 TextBubble
类的新实例
Signature:
constructor(text: string, workspace: WorkspaceSvg, anchor: Coordinate, ownerRect?: Rect | undefined);
参数
参数 | 类型 | 说明 |
---|---|---|
PLAIN_TAXT; | string | |
工作区 | WorkspaceSvg | |
锚标记 | 坐标 | |
ownerRect | 矩形 | 未定义 | (可选) |