調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
blockly > blockRendering > InRowSpacer > (コンストラクタ)
blockRendering.InRowSpacer.(constructor)
InRowSpacer
クラスの新しいインスタンスを作成します。
署名:
constructor(constants: ConstantProvider, width: number);
パラメータ
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-08 UTC。
[null,null,["最終更新日 2024-11-08 UTC。"],[[["`blockRendering.InRowSpacer` is a class for creating spacers within rows of Blockly blocks."],["The constructor for `blockRendering.InRowSpacer` takes a `ConstantProvider` and a width as arguments, initializing a new spacer instance with the specified width."],["Spacers are used to visually separate elements within a row in the Blockly editor."]]],["The `InRowSpacer` class constructor creates a new spacer instance. It requires two parameters: `constants`, a `ConstantProvider` object that provides rendering constants, and `width`, a number that defines the spacer's width. This constructor's function is to initialize a spacer object for use within block rendering processes, defining its width based on provided constants.\n"]]