Class Shape
Abstract base for all diagram node shape descriptors. Assign a concrete subtype — BasicShape or FlowShape — to Shape to control what EJ2 renders for that node.
Inherited Members
Namespace: Syncfusion.Maui.Diagram
Assembly: Syncfusion.Maui.Diagram.dll
Syntax
public abstract class Shape : DiagramElement
Remarks
Extends DiagramElement so that any property change on the shape object bubbles up through the owning Node → SfDiagram change pipeline and triggers a JavaScript-side re-render without any extra wiring.
Constructors
Shape()
Declaration
protected Shape()
Properties
Type
Gets the family this shape belongs to (Basic or
Flow). Read-only — determined by the concrete subtype.
Used as the EJ2 shape.type discriminator during serialization.
Declaration
public abstract NodeShapes Type { get; }
Property Value
| Type |
|---|
| NodeShapes |