Class LineStyle
Line style class.
Inheritance
Namespace: Syncfusion.SfDiagram.iOS
Assembly: Syncfusion.SfDiagram.iOS.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 | Segment type. |
StrokeStyle | style | the Style. |
System.Int32 | strokeWidth | Stroke width. |
ApplyColorFrom | lineColorFrom | Color from. |
DecoratorType | decoratorType | Dec type. |
ApplyColorFrom | decoratorFillColor | Decorator fill color. |
ApplyColorFrom | decoratorStrokeColor | Decorator stroke color. |
LineStyle(SegmentType, StrokeStyle, Int32, ApplyColorFrom, DecoratorType, UIColor, UIColor)
Initializes a new instance of the LineStyle class.
Declaration
public LineStyle(SegmentType segmentType, StrokeStyle style, int strokeWidth, ApplyColorFrom lineColorFrom, DecoratorType decoratorType, UIColor decoratorFillColor, UIColor decoratorStrokeColor)
Parameters
Type | Name | Description |
---|---|---|
SegmentType | segmentType | Segment type. |
StrokeStyle | style | the Style. |
System.Int32 | strokeWidth | Stroke width. |
ApplyColorFrom | lineColorFrom | Color from. |
DecoratorType | decoratorType | Dec type. |
UIKit.UIColor | decoratorFillColor | Decorator fill color. |
UIKit.UIColor | 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 color.
Declaration
public UIColor Color { get; set; }
Property Value
Type | Description |
---|---|
UIKit.UIColor | The color. |
DecoratorFillColor
Gets the color of the decorator fill.
Declaration
public UIColor DecoratorFillColor { get; }
Property Value
Type | Description |
---|---|
UIKit.UIColor | The color of the decorator fill. |
DecoratorFillColorFrom
Gets the decorator fill color from.
Declaration
public ApplyColorFrom DecoratorFillColorFrom { get; }
Property Value
Type | Description |
---|---|
ApplyColorFrom | The decorator fill color from. |
DecoratorStrokeColor
Gets the color of the decorator stroke.
Declaration
public UIColor DecoratorStrokeColor { get; }
Property Value
Type | Description |
---|---|
UIKit.UIColor | The color of the decorator stroke. |
DecoratorStrokeColorFrom
Gets the decorator stroke color from.
Declaration
public ApplyColorFrom DecoratorStrokeColorFrom { get; }
Property Value
Type | Description |
---|---|
ApplyColorFrom | The decorator stroke color from. |
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. |
Methods
Dispose()
Releases all resource used by the LayoutStyle object.
Declaration
public void Dispose()