Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > blockRendering > Zeile > Messen
blockRendering.Row.measure()-Methode
Prüfen Sie alle Unterkomponenten und füllen Sie alle Größeneigenschaften für die Zeile aus.
Unterschrift:
measure(): void;
Gibt zurück:
voidm
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-08-21 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-08-21 (UTC)."],[[["The `blockRendering.Row.measure()` method calculates and assigns size properties to all elements within the row."],["This method is essential for determining the overall dimensions of the row, ensuring proper layout and rendering of blocks within Blockly."],["Calling `measure()` has no return value, it directly modifies the row's internal size properties."]]],["The `measure()` method within the `blockRendering.Row` class iterates through subcomponents to determine their dimensions. This process populates the row's size properties, effectively calculating and storing the space occupied by the row's content. The method takes no arguments and returns nothing, with its sole purpose being to assess and record the row's spatial characteristics.\n"]]