blockly > blockRendering > RenderInfo > finalize_
método blockRendering.RenderInfo.finalize_()
Faça as alterações finais no objeto de informações de renderização. Em particular, armazene a posição y de cada linha e registre a altura do bloco completo.
Signature:
protected finalize_(): void;
Retorna:
void
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2024-08-21 UTC.
[null,null,["Última atualização 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"]]