Annotation
extends ExportableObject
Default exportable object for the bpmn2.Annotation
element.
constructorβ
constructor(cellView: dia.CellView, text?: string);
Methodsβ
getText()β
getText(): string;
Returns annotation text from the cell. Override this method to change how the text is retrieved.
toShapeXMLElement()β
toShapeXMLElement(): Element;
Creates BPMNShape
XML element from the exportable object.
toTextAnnotationXMLElement()β
toTextAnnotationXMLElement(): Element;
Creates textAnnotation
XML element from the exportable object.
Propertiesβ
textβ
text: string | null;
Annotation text.