Class DiagramBasicShape
Inheritance
Namespace: Syncfusion.EJ2.Diagrams
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramBasicShape : EJTagHelper
Constructors
DiagramBasicShape()
Declaration
public DiagramBasicShape()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
CornerRadius
Sets the corner of the node
Declaration
public double CornerRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |
Points
Defines the collection of points to draw a polygon
Declaration
public List<DiagramPoint> Points { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DiagramPoint> | The default value is null |
Shape
Defines the type of the basic shape Rectangle - Sets the type of the basic shape as Rectangle Ellipse - Sets the type of the basic shape as Ellipse Hexagon - Sets the type of the basic shape as Hexagon Parallelogram - Sets the type of the basic shape as Parallelogram Triangle - Sets the type of the basic shape as Triangle Plus - Sets the type of the basic shape as Plus Star - Sets the type of the basic shape as Star Pentagon - Sets the type of the basic shape as Pentagon Heptagon - Sets the type of the basic shape as Heptagon Octagon - Sets the type of the basic shape as Octagon Trapezoid - Sets the type of the basic shape as Trapezoid Decagon - Sets the type of the basic shape as Decagon RightTriangle - Sets the type of the basic shape as RightTriangle Cylinder - Sets the type of the basic shape as Cylinder Diamond - Sets the type of the basic shape as Diamond
Declaration
public BasicShapes Shape { get; set; }
Property Value
Type | Description |
---|---|
BasicShapes | The default value is BasicShapes.Rectangle |
Type
Defines the type of node shape
Declaration
public Shapes Type { get; set; }
Property Value
Type | Description |
---|---|
Shapes | The default value is Shapes.Basic |