blockly > blockRendering > RenderInfo > finalize_
Metoda blockRendering.RenderInfo.finalize_()
Wprowadź ostateczne zmiany w obiekcie informacji o renderowaniu. W szczególności zapisz położenie na osi y dla każdego wiersza i zapisz wysokość całego bryły.
Podpis:
protected finalize_(): void;
Zwroty:
nieważne
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-21 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]