blockly > Bubbles > TextBubble > (Konstrukteur)

bubbles.TextBubble.(constructor)

Erstellt eine neue Instanz der TextBubble-Klasse

Unterschrift:

constructor(text: string, workspace: WorkspaceSvg, anchor: Coordinate, ownerRect?: Rect | undefined);

Parameter

Parameter Typ Beschreibung
text String
Arbeitsbereich WorkspaceSvg
anchor Koordinaten
ownerRect Rekt | nicht definiert (Optional)