연구 설문조사: Blockly 사용 경험을 알려주세요
설문조사 시작
차단 > 클립보드 > BlockPaster
클립보드.BlockPaster 클래스
서명:
export declare class BlockPaster implements IPaster<BlockCopyData, BlockSvg>
구현: IPaster<BlockCopyData, BlockSvg>
속성
속성 |
수정자 |
유형 |
설명 |
유형 |
static |
문자열 |
|
메서드
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-08-21(UTC)
[null,null,["최종 업데이트: 2024-08-21(UTC)"],[[["The `BlockPaster` class implements the `IPaster` interface for handling block copy-paste operations using `BlockCopyData` and `BlockSvg`."],["It offers a static property `TYPE` and a method `paste` to insert copied blocks into a workspace at a specified coordinate."],["The `paste` method accepts the copy data, the target workspace, and the desired coordinates for the pasted blocks."]]],["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"]]