[]
Creates default line
public Line()
Creates solid line with thickness of 1 and with specified color
public Line(Color color)
| Type | Name | Description |
|---|---|---|
| Color | color |
Creates solid line with specified thickness and color
public Line(Color color, int weight)
| Type | Name | Description |
|---|---|---|
| Color | color | |
| int | weight |
Initializes new instance of the LineInfo class with thickness of 1 and with specified style
public Line(Color color, LineStyle style)
| Type | Name | Description |
|---|---|---|
| Color | color | |
| LineStyle | style |
Initializes new instance of the Line class.
public Line(Color color, int weight, LineStyle style)
| Type | Name | Description |
|---|---|---|
| Color | color | The color of the line |
| int | weight | The thickness of the line |
| LineStyle | style | The style of the line |
For internal use only.
public Line(string xml)
| Type | Name | Description |
|---|---|---|
| string | xml |
For internal use only.
public Line(string xml, GraphXmlSerializationContext context)
| Type | Name | Description |
|---|---|---|
| string | xml | |
| GraphXmlSerializationContext | context |