Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
blockly > Bloc-notes > BlockPaster
Classe clipboard.BlockPaster
Signature :
export declare class BlockPaster implements IPaster<BlockCopyData, BlockSvg>
Implémente: IPaster<BlockCopyData, BlockSvg>
Propriétés
Propriété |
Modificateurs |
Type |
Description |
TYPE |
static |
chaîne |
|
Méthodes
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/25 (UTC)."],[],["The `BlockPaster` class, implementing the `IPaster` interface, is designed for pasting block data (`BlockCopyData`) onto a workspace. It has a static `TYPE` property, and its core functionality is provided by the `paste` method. This method takes `copyData`, a `workspace`, and a `coordinate` to facilitate the pasting process of `BlockSvg` blocks. This is part of the clipboard functionality.\n"]]