Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > blockRendering > RenderInfo > getDesiredRowWidth_
Metoda blockRendering.RenderInfo.getDesiredRowWidth_()
Oblicz żądaną szerokość wiersza wejściowego.
Podpis:
protected getDesiredRowWidth_(_row: Row): number;
Parametry
| Parametr |
Typ |
Opis |
| _row |
Wiersz |
Wiersz wejściowy. |
Zwroty:
liczba
Żądana szerokość wiersza wejściowego.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["The `getDesiredRowWidth_` method, part of `blockRendering.RenderInfo`, calculates the intended width for a given input row. It accepts a `Row` object as a parameter. The method's purpose is to determine and return the numerical desired width of that specific input row, allowing for proper layout and rendering of blocks. It's a protected method.\n"]]