Class DiagramGradientBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
DiagramGradientBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Diagrams
Assembly: Syncfusion.AspNetMvc.Diagram.dll
Syntax
public class DiagramGradientBuilder : ControlBuilder
Constructors
DiagramGradientBuilder()
Declaration
public DiagramGradientBuilder()
DiagramGradientBuilder(DiagramGradient)
Declaration
public DiagramGradientBuilder(DiagramGradient model)
Parameters
| Type | Name | Description |
|---|---|---|
| DiagramGradient | model |
Methods
Id(String)
Defines the id of gradient
Declaration
public DiagramGradientBuilder Id(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| DiagramGradientBuilder |
Stops(Action<DiagramStopBuilder>)
Declaration
public DiagramGradientBuilder Stops(Action<DiagramStopBuilder> stops)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<DiagramStopBuilder> | stops |
Returns
| Type |
|---|
| DiagramGradientBuilder |
Stops(List<DiagramStop>)
Defines the stop collection of gradient
Declaration
public DiagramGradientBuilder Stops(List<DiagramStop> value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<DiagramStop> | value |
Returns
| Type |
|---|
| DiagramGradientBuilder |
Type(GradientType)
Defines the type of gradient Linear - Sets the type of the gradient as Linear Radial - Sets the type of the gradient as Radial
Declaration
public DiagramGradientBuilder Type(GradientType value)
Parameters
| Type | Name | Description |
|---|---|---|
| GradientType | value |
Returns
| Type |
|---|
| DiagramGradientBuilder |