Class DiagramShapeStyle
Inheritance
System.Object
Syncfusion.EJ2.EJTagHelper
DiagramShapeStyle
Namespace: Syncfusion.EJ2.Diagrams
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramShapeStyle : EJTagHelper
Constructors
DiagramShapeStyle()
Declaration
public DiagramShapeStyle()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
Fill
Sets the fill color of a shape/path
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "white" |
Gradient
Defines the gradient of a shape/path
Declaration
public object Gradient { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Opacity
Sets the opacity of a shape/path
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
StrokeColor
Sets the stroke color of a shape/path
Declaration
public string StrokeColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "black" |
StrokeDashArray
Defines the pattern of dashes and spaces to stroke the path/shape
Declaration
public string StrokeDashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
StrokeWidth
Defines the stroke width of the path/shape
Declaration
public double StrokeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |