Renderowanie informacji
RenderInfo
określa, jak elementy wizualne są nakładane na element.
Blok jest zawsze zbudowany z danych wejściowych, połączeń i pól, ale można je rozmieszczać na wiele różnych sposobów. Na przykład tę samą definicję blokowania można wyświetlić za pomocą wewnętrznych danych wejściowych.

Informacje o renderowaniu określają, który układ jest wybrany.
Pierwszym etapem renderowania jest poznanie definicji bloku i sposób pomiaru jego elementów wizualnych. Następnie określa, jak układ powinien zostać
uporządkowany, i odpowiednio porządkuje te informacje. Informacje są przekształcane w niepokrywające się elementy i spacje, które są połączone w niepokrywające się wiersze oraz rozdzielniki.
Następnie szuflada użyje tych uporządkowanych informacji o układzie, aby utworzyć ścieżki SVG reprezentujące blok.
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: 2023-07-24 UTC.
[null,null,["Ostatnia aktualizacja: 2023-07-24 UTC."],[[["`RenderInfo` dictates the visual layout of a block's elements, such as inputs, connections, and fields, determining aspects like inline or external input placement."],["It analyzes the block definition and element measurements to establish an optimal layout, organizing the information into elements, spacers, rows, and row spacers for a non-overlapping visual structure."],["This organized layout information is then utilized by the drawer to generate the final SVG paths that visually represent the block."]]],["`RenderInfo` defines a block's visual layout. It analyzes a block's inputs, connections, and fields, considering external or inline input options. It determines the layout, organizing visual components into non-overlapping elements, spacers, rows, and row spacers. This structured information is then passed to the drawer, which generates the SVG paths for the block's visual representation. The core task of the render info is to take visual elements and organize them.\n"]]