Blockly は 2025 年 11 月 10 日に Raspberry Pi Foundation に移行しました。ブログ投稿とよくある質問をご覧ください。
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ブロックする >geras >ドロワー >(コンストラクタ)
geras.Drawer.(constructor)
Drawer クラスの新しいインスタンスを作成します。
署名:
constructor(block: BlockSvg, info: RenderInfo);
パラメータ
| パラメータ |
型 |
説明 |
| ブロック |
BlockSvg |
レンダリングするブロック。 |
| 情報 |
RenderInfo |
このブロックをレンダリングするために必要なすべての情報を含むオブジェクト。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],["The `Drawer` class constructor creates a new `Drawer` instance. It requires two parameters: `block`, which is a `BlockSvg` representing the block to be rendered, and `info`, a `RenderInfo` object containing necessary rendering information. The constructor's purpose is to set up the necessary structure for rendering a given block. The class is part of the `geras` namespace within Blockly.\n"]]