Class DiagramIconShapeBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
DiagramIconShapeBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramIconShapeBuilder : ControlBuilder
Constructors
DiagramIconShapeBuilder()
Declaration
public DiagramIconShapeBuilder()
DiagramIconShapeBuilder(DiagramIconShape)
Declaration
public DiagramIconShapeBuilder(DiagramIconShape model)
Parameters
Methods
BorderColor(String)
Sets the border color of an icon.
Declaration
public DiagramIconShapeBuilder BorderColor(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
BorderWidth(Double)
Defines the border width of the icon.
Declaration
public DiagramIconShapeBuilder BorderWidth(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Content(String)
Defines the custom content of the icon
Declaration
public DiagramIconShapeBuilder Content(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
CornerRadius(Double)
Defines the corner radius of the icon border
Declaration
public DiagramIconShapeBuilder CornerRadius(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Fill(String)
Sets the fill color of an icon.
Declaration
public DiagramIconShapeBuilder Fill(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Height(Double)
Defines the height of the icon.
Declaration
public DiagramIconShapeBuilder Height(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
HorizontalAlignment(HorizontalAlignment)
Defines how the Icon has to be horizontally aligned.
Stretch - Stretches the diagram element throughout its immediate parent
Left - Aligns the diagram element at the left of its immediate parent
Right - Aligns the diagram element at the right of its immediate parent
Center - Aligns the diagram element at the center of its immediate parent
Auto - Aligns the diagram element based on the characteristics of its immediate parent
Declaration
public DiagramIconShapeBuilder HorizontalAlignment(HorizontalAlignment value)
Parameters
Returns
IconColor(String)
Sets the Path color of an icon.
Declaration
public DiagramIconShapeBuilder IconColor(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Margin(DiagramMargin)
Defines the space that the icon has to be moved from its actual position
Declaration
public DiagramIconShapeBuilder Margin(DiagramMargin value)
Parameters
Returns
Margin(Action<DiagramMarginBuilder>)
Declaration
public DiagramIconShapeBuilder Margin(Action<DiagramMarginBuilder> margin)
Parameters
Returns
Offset(DiagramPoint)
Defines the offset of the icon.
Declaration
public DiagramIconShapeBuilder Offset(DiagramPoint value)
Parameters
Returns
Offset(Action<DiagramPointBuilder>)
Declaration
public DiagramIconShapeBuilder Offset(Action<DiagramPointBuilder> offset)
Parameters
Returns
Padding(DiagramMargin)
Defines the space that the icon has to be moved from the icon border
Declaration
public DiagramIconShapeBuilder Padding(DiagramMargin value)
Parameters
Returns
Padding(Action<DiagramMarginBuilder>)
Declaration
public DiagramIconShapeBuilder Padding(Action<DiagramMarginBuilder> padding)
Parameters
Returns
PathData(String)
Defines the geometry of a path
Declaration
public DiagramIconShapeBuilder PathData(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Shape(IconShapes)
Defines the shape of the icon.
None
Minus - sets the icon shape as minus
Plus - sets the icon shape as Plus
ArrowUp - sets the icon shape as ArrowUp
ArrowDown - sets the icon shape as ArrowDown
Template - sets the icon shape based on the given custom template
Path - sets the icon shape based on the given custom Path
Declaration
public DiagramIconShapeBuilder Shape(IconShapes value)
Parameters
Returns
VerticalAlignment(VerticalAlignment)
Defines how the Icon has to be Vertically aligned.
Stretch - Stretches the diagram element throughout its immediate parent
Top - Aligns the diagram element at the top of its immediate parent
Bottom - Aligns the diagram element at the bottom of its immediate parent
Center - Aligns the diagram element at the center of its immediate parent
Auto - Aligns the diagram element based on the characteristics of its immediate parent
Declaration
public DiagramIconShapeBuilder VerticalAlignment(VerticalAlignment value)
Parameters
Returns
Width(Double)
Defines the width of the icon.
Declaration
public DiagramIconShapeBuilder Width(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns