Class DiagramGradientBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
DiagramGradientBuilder
Namespace: Syncfusion.EJ2.Diagrams
Assembly: Syncfusion.EJ2.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
Stops(Action<DiagramStopBuilder>)
Declaration
public DiagramGradientBuilder Stops(Action<DiagramStopBuilder> stops)
Parameters
Type | Name | Description |
---|---|---|
System.Action<DiagramStopBuilder> | stops |
Returns
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(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 |