blockly > bulles > TextBubble > (constructeur)
bubbles.TextBubble.(constructor)
Construit une nouvelle instance de la classe TextBubble.
Signature :
constructor(text: string, workspace: WorkspaceSvg, anchor: Coordinate, ownerRect?: Rect | undefined);
Paramètres
| Paramètre | Type | Description |
|---|---|---|
| text | chaîne | |
| espace de travail | WorkspaceSvg | |
| anchor | Coordinate | |
| ownerRect | Rect | indéfinie | (Facultatif) |