Class DiagramStrokeStyleBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
DiagramStrokeStyleBuilder
Namespace: Syncfusion.EJ2.Diagrams
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramStrokeStyleBuilder : ControlBuilder
Constructors
DiagramStrokeStyleBuilder()
Declaration
public DiagramStrokeStyleBuilder()
DiagramStrokeStyleBuilder(DiagramStrokeStyle)
Declaration
public DiagramStrokeStyleBuilder(DiagramStrokeStyle model)
Parameters
Type | Name | Description |
---|---|---|
DiagramStrokeStyle | model |
Methods
Fill(String)
Sets the fill color of a shape/path
Declaration
public DiagramStrokeStyleBuilder Fill(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Gradient(Object)
Defines the gradient of a shape/path
Declaration
public DiagramStrokeStyleBuilder Gradient(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Returns
Opacity(Double)
Sets the opacity of a shape/path
Declaration
public DiagramStrokeStyleBuilder Opacity(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
Returns
StrokeColor(String)
Sets the stroke color of a shape/path
Declaration
public DiagramStrokeStyleBuilder StrokeColor(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
StrokeDashArray(String)
Defines the pattern of dashes and spaces to stroke the path/shape
Declaration
public DiagramStrokeStyleBuilder StrokeDashArray(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
StrokeWidth(Double)
Defines the stroke width of the path/shape
Declaration
public DiagramStrokeStyleBuilder StrokeWidth(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |