研究调查问卷:请告诉我们您使用 Blockly 的体验
开始调查问卷
blockly >zelos >RenderInfo >RenderInfo测量
zelos.RenderInfo.measure() 方法
Signature:
measure(): void;
返回:
void
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-22。
[null,null,["最后更新时间 (UTC):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."]]],[]]