blockly > WorkspaceCommentSvg

WorkspaceCommentSvg-Kurs

Klasse für die SVG-Darstellung eines Arbeitsbereichskommentars.

Unterschrift:

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

Erweitert: WorkspaceComment

Implementierungen:IBoundedElement, IBubble, ICopyable<WorkspaceCommentCopyData>

Konstruktoren

Konstruktor Modifikatoren Beschreibung
(constructor)(workspace, content, width, width, opt_id) Konstruiert eine neue Instanz der Klasse WorkspaceCommentSvg

Attribute

Property Modifikatoren Typ Beschreibung
svgRect_ SVGRectElement
Arbeitsbereich WorkspaceSvg

Methoden

Methode Modifikatoren Beschreibung
setEditable(editable) Legen Sie fest, ob dieser Kommentar bearbeitbar ist oder nicht.
toCopyData() Einen Kommentar zum Kopieren codieren.