Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
блочно > блокирование рендеринга > строка > мера
Метод blockRendering.Row.measure()
Проверьте все подкомпоненты и заполните все свойства размера в строке.
Подпись:
measure(): void;
Возврат:
пустота
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-12 UTC.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-01-12 UTC."],[[["The `blockRendering.Row.measure()` method calculates and assigns size properties to all elements within the row."],["This method is essential for determining the overall dimensions of the row, ensuring proper layout and rendering of blocks within Blockly."],["Calling `measure()` has no return value, it directly modifies the row's internal size properties."]]],["The `measure()` method within the `blockRendering.Row` class iterates through subcomponents to determine their dimensions. This process populates the row's size properties, effectively calculating and storing the space occupied by the row's content. The method takes no arguments and returns nothing, with its sole purpose being to assess and record the row's spatial characteristics.\n"]]