調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
blockly > MetricsManager > getUiMetrics
MetricsManager.getUiMetrics() メソッド
UI 要素で使用される一般的な指標を返します。
署名:
getUiMetrics(): UiMetrics;
戻り値:
UiMetrics
UI 指標。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-10-11 UTC。
[null,null,["最終更新日 2024-10-11 UTC。"],[[["This method returns essential UI metrics used by user interface elements in Blockly."],["The `getUiMetrics` function provides access to these metrics in the form of a `UiMetrics` object, which can be utilized by developers when designing and implementing user interfaces within Blockly."],["`MetricsManager.getUiMetrics()` is a method used in the Blockly library for retrieving metrics related to user interface elements."]]],["The `getUiMetrics` method, part of the `MetricsManager` class, retrieves UI metrics. This method's signature is `getUiMetrics(): UiMetrics;`, meaning it takes no arguments and returns an object of type `UiMetrics`. The returned `UiMetrics` object contains common metrics utilized by UI elements within the Blockly system. This method's core function is simply to return this set of UI metrics.\n"]]