Class DiagramShapeStyle
Inheritance
System.Object
DiagramShapeStyle
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()
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 | Description |
---|---|
MvcTemplate<System.Object> |
Fill
Sets the fill color of a shape/path
Declaration
[HtmlAttributeName("fill")]
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
[HtmlAttributeName("gradient")]
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
[HtmlAttributeName("opacity")]
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
[HtmlAttributeName("strokeColor")]
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
[HtmlAttributeName("strokeDashArray")]
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
[HtmlAttributeName("strokeWidth")]
public double StrokeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |