סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > MetricsManager > getUiMetrics
שיטת MetricsManager.getUiMetrics()
הפונקציה מחזירה מדדים נפוצים שרכיבי ממשק המשתמש משתמשים בהם.
Signature:
getUiMetrics(): UiMetrics;
החזרים:
UiMetrics
מדדי ממשק המשתמש.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]