Stay organized with collections Save and categorize content based on your preferences.

blockly > WorkspaceCommentSvg

WorkspaceCommentSvg class

Class for a workspace comment's SVG representation.

Signature:

export declare class WorkspaceCommentSvg extends WorkspaceComment implements IBoundedElement, IBubble, ICopyable 

Extends: WorkspaceComment

Implements: IBoundedElement, IBubble, ICopyable

Constructors

Constructor Modifiers Description
(constructor)(workspace, content, height, width, opt_id) Constructs a new instance of the WorkspaceCommentSvg class

Properties

Property Modifiers Type Description
svgRect_ any
workspace WorkspaceSvg

Methods

Method Modifiers Description
setEditable(editable) Set whether this comment is editable or not.