blockly > WorkspaceCommentSvg

WorkspaceCommentSvg 클래스

작업공간 댓글의 SVG 표현의 클래스입니다.

Signature:

export declare class WorkspaceCommentSvg extends WorkspaceComment implements IBoundedElement, IBubble, ICopyable<WorkspaceCommentCopyData> 

확장: WorkspaceComment

구현: IBoundedElement, IBubble, ICopyable<WorkspaceCommentCopyData>

생성자

생성자 수정자 설명
(생성자)(작업공간, 콘텐츠, 높이, 너비, 선택_ID) WorkspaceCommentSvg 클래스의 새 인스턴스를 구성합니다.

속성

속성 수정자 유형 설명
svgRect_ SVGRectElement
워크스페이스 WorkspaceSvg

방법

메서드 수정자 설명
setEditable(editable) 이 댓글을 수정할 수 있는지 여부를 설정합니다.
toCopyData() 복사할 주석을 인코딩합니다.