Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
blockly > blockRendering > Riga > misura
Metodo blockRendering.Row.measure()
Esamina tutti i componenti secondari e compila tutte le proprietà delle dimensioni nella riga.
Firma:
measure(): void;
Resi:
null
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-08-21 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2024-08-21 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"]]