Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > blockRendering > Ölçülebilir
blockRendering.Measurable sınıfı
Oluşturma sırasında yer kaplayan bir blokun parçasını temsil edecek temel sınıf. Boşluk olmayan her bir Ölçülebilir özellik için oluşturucu, blok öğesinin boyutunu kaydeder (ör. alan, ifade girişi).
İmza:
export declare class Measurable
Markalar
Özellikler
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 `blockRendering.Measurable` class is the foundation for representing parts of a block that occupy space during rendering, like fields or inputs."],["Each `Measurable` instance stores the size of the corresponding block element and provides properties for dimensions and position."],["Key properties include `height`, `width`, `xPos` (x-position), `centerline`, and `notchOffset` for positioning and layout calculations."],["A `ConstantProvider` associated with the renderer gives access to rendering constants for consistent block appearance."]]],["The `Measurable` class represents a block component that occupies space during rendering. Each `Measurable` instance, except spacers, stores the dimensions of a block element, such as a field or input. It has properties to store size, including `width` and `height`, positioning such as `xPos`, and layout information such as `centerline` and `notchOffset`. It is built with a constructor and it has a renderer's constant provider stored in a property `constants_`.\n"]]