轉譯資訊
RenderInfo
可以決定區塊的視覺元素如何分割。
區塊一律以輸入、連線和欄位組成,但有很多種不同方式。舉例來說,相同的區塊定義可以透過外部輸入或內嵌輸入轉譯。

轉譯資訊會決定選擇的版面配置。
轉譯的第一步是轉譯區塊的定義,以及視覺項目的測量結果。然後再決定區塊的配置方式,並據此整理資訊。資訊會轉換成不重疊的元素和空格字元,這些註解會歸類成非重疊的資料列和資料列空間。
接著,較少使用彙整版面配置資訊,建立代表區塊的 SVG 路徑。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-07-24 (世界標準時間)。
[null,null,["上次更新時間:2023-07-24 (世界標準時間)。"],[[["`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"]]