[]
Initializes a new instance of the LineDef class with default values (1pt wide black line).
public LineDef()
Public Sub New()
Initializes a new instance of the LineDef class, assigning line color.
public LineDef(Color color)
Public Sub New(color As Color)
| Type | Name | Description |
|---|---|---|
| Color | color | A value assigned to the Color property. |
Initializes a new instance of the LineDef class, assigning line width and color.
public LineDef(Unit width, Color color)
Public Sub New(width As Unit, color As Color)
| Type | Name | Description |
|---|---|---|
| Unit | width | A value assigned to the Color property. |
| Color | color | A value assigned to the Color property. |
Initializes a new instance of the LineDef class, assigning line width, color and dash style.
public LineDef(Unit width, Color color, DashStyle style)
Public Sub New(width As Unit, color As Color, style As DashStyle)
| Type | Name | Description |
|---|---|---|
| Unit | width | A value assigned to the Color property. |
| Color | color | A value assigned to the Color property. |
| DashStyle | style | A value assigned to the DashStyle property. |
Initializes a new instance of the LineDef class, assigning line width, color and dash pattern. DashStyle is set to Custom.
public LineDef(Unit width, Color color, float[] dashPattern)
Public Sub New(width As Unit, color As Color, dashPattern As Single())
| Type | Name | Description |
|---|---|---|
| Unit | width | A value assigned to the Color property. |
| Color | color | A value assigned to the Color property. |
| float[] | dashPattern | A value assigned to the DashPattern property. |
Initializes a new instance of the LineDef class, assigning line width, color, dash background color and dash style.
public LineDef(Unit width, Color color, Color backColor, DashStyle style)
Public Sub New(width As Unit, color As Color, backColor As Color, style As DashStyle)
| Type | Name | Description |
|---|---|---|
| Unit | width | A value assigned to the Color property. |
| Color | color | A value assigned to the Color property. |
| Color | backColor | A value assigned to the BackColor property. |
| DashStyle | style | A value assigned to the DashStyle property. |
Initializes a new instance of the LineDef class, assigning line width, color, dash background color and dash pattern. DashStyle is set to Custom.
public LineDef(Unit width, Color color, Color backColor, float[] dashPattern)
Public Sub New(width As Unit, color As Color, backColor As Color, dashPattern As Single())
| Type | Name | Description |
|---|---|---|
| Unit | width | A value assigned to the Color property. |
| Color | color | A value assigned to the Color property. |
| Color | backColor | A value assigned to the BackColor property. |
| float[] | dashPattern | A value assigned to the DashPattern property. |