Class LineStyle
Line style.
Inheritance
Namespace: Syncfusion.SfDiagram.Android
Assembly: Syncfusion.SfDiagram.Android.dll
Syntax
public class LineStyle : Object
Constructors
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 lineColorFrom, DecoratorType decoratorType, Color decoratorFillColor, Color decoratorStrokeColor)
Parameters
Type | Name | Description |
---|---|---|
SegmentType | segmentType | Segment type. |
StrokeStyle | style | the Style. |
System.Int32 | strokeWidth | Stroke width. |
ApplyColorFrom | lineColorFrom | Color from. |
DecoratorType | decoratorType | decorator type. |
Android.Graphics.Color | decoratorFillColor | Decorator fill color. |
Android.Graphics.Color | decoratorStrokeColor | Decorator stroke color. |
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 | segment type. |
StrokeStyle | style | style object. |
System.Int32 | strokeWidth | stroke width. |
ApplyColorFrom | lineColorFrom | line color. |
DecoratorType | decoratorType | decorator type. |
ApplyColorFrom | decoratorFillColor | decorator fill color. |
ApplyColorFrom | decoratorStrokeColor | decorator stroke color. |
Properties
Color
Gets or sets the color of the decorator fill.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Android.Graphics.Color | The color of the decorator fill. |
DecoratorFillColor
Gets the color of the decorator fill.
Declaration
public Color DecoratorFillColor { get; }
Property Value
Type | Description |
---|---|
Android.Graphics.Color | The color of the decorator fill. |
DecoratorFillColorFrom
Gets the DecoratorFillColorFrom of the decorator stroke.
Declaration
public ApplyColorFrom DecoratorFillColorFrom { get; }
Property Value
Type | Description |
---|---|
ApplyColorFrom | The DecoratorFillColorFrom of the decorator stroke. |
DecoratorStrokeColor
Gets the color of the decorator stroke.
Declaration
public Color DecoratorStrokeColor { get; }
Property Value
Type | Description |
---|---|
Android.Graphics.Color | The color of the decorator stroke. |
DecoratorStrokeColorFrom
Gets the DecoratorStrokeColorFrom of the decorator stroke.
Declaration
public ApplyColorFrom DecoratorStrokeColorFrom { get; }
Property Value
Type | Description |
---|---|
ApplyColorFrom | The DecoratorStrokeColorFrom of the decorator stroke. |
DecoratorType
Gets the type of the decorator.
Declaration
public DecoratorType DecoratorType { get; }
Property Value
Type | Description |
---|---|
DecoratorType | The type of the decorator. |
LineColorFrom
Gets the color from.
Declaration
public ApplyColorFrom LineColorFrom { get; }
Property Value
Type | Description |
---|---|
ApplyColorFrom | The color from. |
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. |
Methods
Dispose()
Add the dispose method.
Declaration
public void Dispose()