Class DiagramShapeStyleBuilder
Inheritance
System.Object
DiagramShapeStyleBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramShapeStyleBuilder : ControlBuilder
Constructors
DiagramShapeStyleBuilder()
Declaration
public DiagramShapeStyleBuilder()
DiagramShapeStyleBuilder(DiagramShapeStyle)
Declaration
public DiagramShapeStyleBuilder(DiagramShapeStyle model)
Parameters
Methods
Fill(String)
Sets the fill color of a shape/path
Declaration
public DiagramShapeStyleBuilder Fill(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Gradient(Action<DiagramGradientBuilder>)
Declaration
public DiagramShapeStyleBuilder Gradient(Action<DiagramGradientBuilder> gradient)
Parameters
Returns
Gradient(Object)
Defines the gradient of a shape/path
Declaration
public DiagramShapeStyleBuilder Gradient(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Opacity(Double)
Sets the opacity of a shape/path
Declaration
public DiagramShapeStyleBuilder Opacity(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
StrokeColor(String)
Sets the stroke color of a shape/path
Declaration
public DiagramShapeStyleBuilder 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 DiagramShapeStyleBuilder StrokeDashArray(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
StrokeWidth(Double)
Defines the stroke width of the path/shape
Declaration
public DiagramShapeStyleBuilder StrokeWidth(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns