Skip to main content

blockly > bubbles > TextBubble > (constructor)

bubbles.TextBubble.(constructor)

Constructs a new instance of the TextBubble class

Signature:

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

Parameters

Parameter

Type

Description

text

string

workspace

WorkspaceSvg

anchor

Coordinate

ownerRect

Rect | undefined

(Optional)