blockly > bumpObjects > bumpIntoBoundsHandler
bumpObjects.bumpIntoBoundsHandler() işlevi
Sabit sınırları aşan nesnelerin çarpılması için bir işleyici oluşturur.
İmza:
export declare function bumpIntoBoundsHandler(workspace: WorkspaceSvg): (p1: Abstract) => void;
Parametreler
Parametre |
Tür |
Açıklama |
çalışma alanı |
WorkspaceSvg |
İşlenecek çalışma alanı. |
Şunu döndürür:
(p1: Soyut) => geçersiz
Etkinlik işleyici.
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: 2024-10-15 UTC.
[null,null,["Son güncelleme tarihi: 2024-10-15 UTC."],[[["The `bumpObjects.bumpIntoBoundsHandler()` function generates an event handler that manages the behavior of objects colliding with the workspace boundaries."],["This function accepts the workspace as input and returns a handler function specifically designed for the `bumpIntoBounds` event."],["The returned handler function takes an `Abstract` event as input, typically triggered when an object interacts with the workspace bounds."]]],[]]