[]
Initializes a new instance of the LineDef class with default values (1pt wide black line).
public LineDef()
Initializes a new instance of the LineDef class, assigning line color.
public LineDef(Color 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)
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)
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)
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)
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)
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. |