Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > IPositionable
Konumlandırılabilir arayüz
Çalışma alanının üstüne yerleştirilmiş bir bileşenin arayüzü.
İmza:
export interface IPositionable extends IComponent
Kapsamı: IComponent
Yöntemler
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.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[],["The `IPositionable` interface defines components positioned on top of a workspace. It extends the `IComponent` interface. Key actions include retrieving the UI element's bounding rectangle via `getBoundingRectangle()`, which returns pixel units relative to the injection div. The `position()` method is used to reposition the element, typically when the window size changes. These methods ensure the component's location and dimensions are accurately tracked and managed within the workspace.\n"],null,[]]