Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
blockly > zelo > RenderInfo > ukur
Metode zelos.RenderInfo.measure()
Tanda Tangan:
measure(): void;
Hasil:
void
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-22 UTC.
[null,null,["Terakhir diperbarui pada 2024-08-22 UTC."],[[["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."]]],[]]