Class SegmentSettingsBuilder
Class for segment settings builder.
Inheritance
System.Object
SegmentSettingsBuilder
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.JavaScript.DataVisualization
Assembly: Syncfusion.EJ.dll
Syntax
public class SegmentSettingsBuilder
Constructors
SegmentSettingsBuilder()
Initializes a new instance of the SegmentSettingsBuilder class.
Declaration
public SegmentSettingsBuilder()
SegmentSettingsBuilder(SegmentSettings)
Initializes a new instance of the SegmentSettingsBuilder class to indicate the segment setting.
Declaration
public SegmentSettingsBuilder(SegmentSettings segmentSettings)
Parameters
Type | Name | Description |
---|---|---|
SegmentSettings | segmentSettings | The segment settings. |
Methods
Color(String)
Colors the specified segment color.
Declaration
public SegmentSettingsBuilder Color(string segmentColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | segmentColor | Color of the segment. |
Returns
Type | Description |
---|---|
SegmentSettingsBuilder |
Gradient(Action<SegmentGradientBuilder>)
Gradients the specified segmentgradient.
Declaration
public SegmentSettingsBuilder Gradient(Action<SegmentGradientBuilder> segmentgradient)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SegmentGradientBuilder> | segmentgradient | The segmentgradient. |
Returns
Type | Description |
---|---|
SegmentSettingsBuilder |
Length(Double)
Lengthes the specified segment length.
Declaration
public SegmentSettingsBuilder Length(double segmentLength)
Parameters
Type | Name | Description |
---|---|---|
System.Double | segmentLength | Length of the segment. |
Returns
Type | Description |
---|---|
SegmentSettingsBuilder |
Opacity(Double)
Opacities the specified segment opacity.
Declaration
public SegmentSettingsBuilder Opacity(double segmentOpacity)
Parameters
Type | Name | Description |
---|---|---|
System.Double | segmentOpacity | The segment opacity. |
Returns
Type | Description |
---|---|
SegmentSettingsBuilder |
Spacing(Double)
Spacings the specified segment spacing.
Declaration
public SegmentSettingsBuilder Spacing(double segmentSpacing)
Parameters
Type | Name | Description |
---|---|---|
System.Double | segmentSpacing | The segment spacing. |
Returns
Type | Description |
---|---|
SegmentSettingsBuilder |
Width(Double)
Widthes the specified segment width.
Declaration
public SegmentSettingsBuilder Width(double segmentWidth)
Parameters
Type | Name | Description |
---|---|---|
System.Double | segmentWidth | Width of the segment. |
Returns
Type | Description |
---|---|
SegmentSettingsBuilder |