Class LineStyle
Line style.
Inheritance
Namespace: Syncfusion.SfDiagram.XForms
Assembly: Syncfusion.SfDiagram.XForms.dll
Syntax
public class LineStyle : Object
Constructors
LineStyle(SegmentType, StrokeStyle, Int32, ApplyColorFrom, DecoratorType, ApplyColorFrom, ApplyColorFrom)
Initializes a new instance of the LineStyle class.
Declaration
public LineStyle(SegmentType segmentType, StrokeStyle style, int strokeWidth, ApplyColorFrom lineColorFrom, DecoratorType decoratorType, ApplyColorFrom decoratorFillColor, ApplyColorFrom decoratorStrokeColor)
Parameters
Type | Name | Description |
---|---|---|
SegmentType | segmentType | SegmentType. |
StrokeStyle | style | Style. |
System.Int32 | strokeWidth | StrokeWidth. |
ApplyColorFrom | lineColorFrom | LineColorFrom. |
DecoratorType | decoratorType | DecType. |
ApplyColorFrom | decoratorFillColor | DecoratorFillColor. |
ApplyColorFrom | decoratorStrokeColor | DecoratorStrokeColor. |
LineStyle(SegmentType, StrokeStyle, Int32, ApplyColorFrom, DecoratorType, Color, Color)
Initializes a new instance of the LineStyle class.
Declaration
public LineStyle(SegmentType segmentType, StrokeStyle style, int strokeWidth, ApplyColorFrom colorFrom, DecoratorType decType, Color decoratorFillColor, Color decoratorStrokeColor)
Parameters
Type | Name | Description |
---|---|---|
SegmentType | segmentType | Segment type. |
StrokeStyle | style | Style. |
System.Int32 | strokeWidth | Stroke width. |
ApplyColorFrom | colorFrom | Color from. |
DecoratorType | decType | Dec type. |
Xamarin.Forms.Color | decoratorFillColor | Decorator fill color. |
Xamarin.Forms.Color | decoratorStrokeColor | Decorator stroke color. |
Properties
ApplyColorFrom
Gets the color from.
Declaration
public ApplyColorFrom ApplyColorFrom { get; }
Property Value
Type | Description |
---|---|
ApplyColorFrom | The color from. |
Color
Gets or Sets the Connector Line Custom Color.
Declaration
public Color Color { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
DecoratorFillColor
Gets the color of the decorator fill.
Declaration
public Color DecoratorFillColor { get; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the decorator fill. |
DecoratorFillColorFrom
Gets decoratorFillColorFrom.
Declaration
public ApplyColorFrom DecoratorFillColorFrom { get; }
Property Value
Type |
---|
ApplyColorFrom |
DecoratorStrokeColor
Gets the color of the decorator stroke.
Declaration
public Color DecoratorStrokeColor { get; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the decorator stroke. |
DecoratorStrokeColorFrom
Gets decoratorStrokeColorFrom.
Declaration
public ApplyColorFrom DecoratorStrokeColorFrom { get; }
Property Value
Type |
---|
ApplyColorFrom |
DecoratorType
Gets the type of the decorator.
Declaration
public DecoratorType DecoratorType { get; }
Property Value
Type | Description |
---|---|
DecoratorType | The type of the decorator. |
SegmentType
Gets the type of the segment.
Declaration
public SegmentType SegmentType { get; }
Property Value
Type | Description |
---|---|
SegmentType | The type of the segment. |
StrokeStyle
Gets the stroke style.
Declaration
public StrokeStyle StrokeStyle { get; }
Property Value
Type | Description |
---|---|
StrokeStyle | The stroke style. |
StrokeWidth
Gets the width of the stroke.
Declaration
public int StrokeWidth { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The width of the stroke. |