Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > blockRendering > RenderInfo > getSpacerRowWidth_
blockRendering.RenderInfo.getSpacerRowWidth_() yöntemi
Boşluk satırının genişliğini hesaplayın.
İmza:
protected getSpacerRowWidth_(_prev: Row, _next: Row): number;
Parametreler
Parametre |
Tür |
Açıklama |
_prev |
Satır |
Ayırıcıdan önceki satır. |
_next |
Satır |
Boşluk tuşundan sonraki satır. |
Şunu döndürür:
sayı
Bu iki satır arasında ayırıcı satırın istenen genişliği.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-25 UTC."],[],["The `getSpacerRowWidth_` method, part of the `RenderInfo` class, calculates the width required for a spacer row. It accepts two `Row` objects, `_prev` and `_next`, representing the rows immediately before and after the spacer. The method determines and returns a numerical value representing the optimal width for the spacer row positioned between these two input rows. The output of this function is the calculated width.\n"]]