封鎖 >打盹 >RenderInfo資訊 >測量
zelos.RenderInfo.measure() 方法
Signature:
measure(): void;
傳回:
void
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-22 (世界標準時間)。
[null,null,["上次更新時間:2024-08-22 (世界標準時間)。"],[[["The `zelos.RenderInfo.measure()` method is used to calculate and store the dimensions of a block, including its width, height, and connection positions."],["This method updates the `RenderInfo` object with the computed measurements, enabling precise layout and rendering of the block within the workspace."],["Calling `measure()` does not visually change the block; it only updates its internal dimensional data."],["The method returns `void`, meaning it doesn't provide any direct output but modifies the `RenderInfo` instance itself."]]],[]]