blockly > bubbles > TextBubble

Klasse "bubbles.TextBubble"

Ein Infofeld mit nicht bearbeitbarem Text. Wird vom Warnsymbol verwendet.

Unterschrift:

export declare class TextBubble extends Bubble 

Erweitert: Bubble

Konstruktoren

Konstruktor Modifikatoren Beschreibung
(constructor)(text, workspace, anchor, ownerRect) Konstruiert eine neue Instanz der Klasse TextBubble

Attribute

Property Modifikatoren Typ Beschreibung
Anker protected Koordinieren
ownerRect? protected Rect | nicht definiert (Optional)
Arbeitsbereich

protected

readonly

WorkspaceSvg

Methoden

Methode Modifikatoren Beschreibung
getText()
setText(text) Legt den aktuellen Text dieses Infofelds fest und aktualisiert die Anzeige.