Stay organized with collections
Save and categorize content based on your preferences.
blockly > zelos > RenderInfo > measure
zelos.RenderInfo.measure() method
Signature:
measure(): void;
Returns:
void
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 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."]]],[]]