блочно > blockRendering > RenderInfo > Finalize_
Метод blockRendering.RenderInfo.finalize_()
Внесите окончательные изменения в объект информации о рендеринге. В частности, сохраните позицию y каждой строки и запишите высоту полного блока.
Подпись:
protected finalize_(): void;
Возврат:
пустота
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-11-13 UTC.
[null,null,["Последнее обновление: 2024-11-13 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"]]