Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > blockRendering > RenderInfo > finalize_
Methode blockRendering.RenderInfo.final_()
Nehmen Sie letzte Änderungen am Rendering-Informationsobjekt vor. Speichern Sie insbesondere die Y-Position jeder Zeile und notieren Sie die Höhe des vollen Blocks.
Unterschrift:
protected finalize_(): 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 `finalize_()` method is a protected method of the `RenderInfo` class in Blockly's block rendering namespace."],["It calculates and stores the final vertical positions of each row within a rendered block, along with the total height of the block."],["This method's primary purpose is to ensure the rendered block's dimensions and layout are accurate before display."]]],["The `finalize_()` method within the `blockRendering.RenderInfo` class makes final adjustments to the rendering information. It primarily performs two actions: storing the vertical (y) position of each row within a block and calculating and saving the total height of the entire block. This method is protected and does not return any value.\n"]]