Stay organized with collections
Save and categorize content based on your preferences.
blockly > blockRendering > RenderInfo > recordElemPositions_
blockRendering.RenderInfo.recordElemPositions_() method
Record final position information on elements on the given row, for use in drawing. At minimum this records xPos and centerline on each element.
Signature:
protected recordElemPositions_(row: Row): void;
Parameters
Parameter |
Type |
Description |
row |
Row |
The row containing the elements. |
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 `recordElemPositions_` method is used to store the final position of elements within a rendered block for subsequent drawing operations."],["This method specifically records the horizontal position (`xPos`) and vertical centerline of each element within the provided row."],["This is an internal method within the `RenderInfo` class and is intended for use during the block rendering process."]]],[]]