調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ブロックする >blockRendering >ドロワー >layoutField_
blockRendering.Drawer.layoutField_() メソッド
フィールドまたはアイコンの新しい位置を SVG ルートにプッシュします。
署名:
protected layoutField_(fieldInfo: Icon | Field): void;
パラメータ
パラメータ |
型 |
説明 |
fieldInfo |
アイコン |フィールド |
フィールドまたはアイコンのレンダリング情報。 |
戻り値:
void
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-29 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-08-29 UTC。"],[[["The `layoutField_` method updates the SVG positioning of a field or icon within a Blockly block."],["It takes a single argument: `fieldInfo`, which contains rendering details for the field or icon being positioned."],["This method is used internally by the Drawer class during block rendering and is not intended for direct use by developers."]]],["The `layoutField_()` method, part of the `blockRendering.Drawer` class, is designed to update the position of a field or icon within its SVG root. It accepts a `fieldInfo` parameter, which can be either an `Icon` or a `Field` object, containing the necessary rendering information. This method then utilizes the `fieldInfo` to adjust the field or icon's position in the SVG. The method does not return any value.\n"]]