blockly > bumpObjects > bumpIntoBoundsHandler
Funzione bumpObjects.bumpIntoBoundsGestori()
Crea un gestore per colpire gli oggetti quando superano limiti fissi.
Firma:
export declare function bumpIntoBoundsHandler(workspace: WorkspaceSvg): (p1: Abstract) => void;
Parametri
Parametro |
Tipo |
Descrizione |
area di lavoro |
WorkspaceSvg |
L'area di lavoro da gestire. |
Resi:
(p1: Riassunto) => null
Il gestore di eventi.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-10-15 UTC.
[null,null,["Ultimo aggiornamento 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."]]],[]]