Class DiagramBasicShapeBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
DiagramBasicShapeBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramBasicShapeBuilder : ControlBuilder
Constructors
DiagramBasicShapeBuilder()
Declaration
public DiagramBasicShapeBuilder()
DiagramBasicShapeBuilder(DiagramBasicShape)
Declaration
public DiagramBasicShapeBuilder(DiagramBasicShape model)
Parameters
Methods
CornerRadius(Double)
Sets the corner of the node
Declaration
public DiagramBasicShapeBuilder CornerRadius(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Points(Action<DiagramPointBuilder>)
Declaration
public DiagramBasicShapeBuilder Points(Action<DiagramPointBuilder> points)
Parameters
Returns
Points(List<DiagramPoint>)
Defines the collection of points to draw a polygon
Declaration
public DiagramBasicShapeBuilder Points(List<DiagramPoint> value)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<DiagramPoint> |
value |
|
Returns
Shape(BasicShapes)
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 DiagramBasicShapeBuilder Shape(BasicShapes value)
Parameters
Returns
Type(Shapes)
Defines the type of node shape
Declaration
public DiagramBasicShapeBuilder Type(Shapes value)
Parameters
Type |
Name |
Description |
Shapes |
value |
|
Returns