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
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-09-20 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-09-20 (UTC)."],[[["Initializes a new TextBubble object with provided text, workspace, anchor point, and optional owner rectangle."],["The TextBubble class is used to display text within a bubble-like UI element, often associated with blocks or UI components in Blockly."],["Requires a string for the text content, a WorkspaceSvg for the workspace context, a Coordinate object for the anchor position, and an optional Rect for the bounding rectangle of the owning element."]]],[]]