Blockly は 2025 年 11 月 10 日に Raspberry Pi Foundation に移行しました。ブログ投稿とよくある質問をご覧ください。
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ブロックする >バブル >TextInputBubble >(コンストラクタ)
bubbles.TextInputBubble.(constructor)
TextInputBubble クラスの新しいインスタンスを作成します。
署名:
constructor(workspace: WorkspaceSvg, anchor: Coordinate, ownerRect?: Rect | undefined);
パラメータ
| パラメータ |
型 |
説明 |
| ワークスペース |
WorkspaceSvg |
このバブルが属するワークスペース。 |
| アンカー |
座標 |
このバブルが付随する対象物のアンカー位置。バブルのテールがこの場所を指しています。 |
| ownerRect |
Rect |未定義 |
(省略可)自動配置時にバブルが重ならないようにするための長方形です(省略可)。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],["The `TextInputBubble` class constructor creates a new bubble instance. It requires a `WorkspaceSvg` object, defining the workspace the bubble belongs to. It also needs an `anchor` coordinate, indicating where the bubble's tail connects. An optional `ownerRect` can be provided to prevent bubble overlap during automatic positioning. These parameters define the bubble's environment and placement within the workspace.\n"]]