The LineDef type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LineDef()()()() |
Initializes a new instance of the LineDef class
with default values (1pt wide black line).
|
|
LineDef(Color) |
Initializes a new instance of the LineDef class,
assigning line color.
|
|
LineDef(Unit, Color) |
Initializes a new instance of the LineDef class,
assigning line width and color.
|
|
LineDef(Unit, Color, DashStyle) |
Initializes a new instance of the LineDef class,
assigning line width, color and dash style.
|
|
LineDef(Unit, Color, array<Single>[]()[][]) | ||
LineDef(Unit, Color, Color, DashStyle) |
Initializes a new instance of the LineDef class,
assigning line width, color, dash background color and dash style.
|
|
LineDef(Unit, Color, Color, array<Single>[]()[][]) |
Methods
Name | Description | |
---|---|---|
Equals |
Determines whether the specified LineDef object is equal to the current object.
This method compares the property values on the objects.
(Overrides Object..::..Equals(Object).) |
|
GetHashCode |
Serves as a hash function for the LineDef type.
(Overrides Object..::..GetHashCode()()()().) |
|
IsSameStyle |
Tests whether the current and another LineDef objects define
same line styles - i.e. whether the values of Color,
BackColor, DashStyle and
DashPattern properties are the same.
Note that this method does NOT compare the lines' widths.
|
|
Parse(String, Boolean) | ||
Parse(String, Boolean, ITypeDescriptorContext) |
For internal use only.
|
|
ToString |
Returns a string that represents the current object.
(Overrides Object..::..ToString()()()().) |
Properties
Name | Description | |
---|---|---|
BackColor | ||
Color |
Gets the line color.
|
|
DashPattern |
Gets an array of custom dashes and spaces.
|
|
DashStyle | ||
Default |
Represents the default regular line (solid black, 1pt wide).
|
|
DefaultBold |
Represents the default bold line (solid black, 2pt wide).
|
|
Empty |
Represents an empty line (with emtpy color and zero width).
|
|
Width |
Gets the line width (thickness).
|