[]
Creates a line with the specified color.
public SolidLine(Color color)
Public Sub New(color As Color)
Type | Name | Description |
---|---|---|
Color | color | Color of the line. |
Creates a line with the specified color and width.
public SolidLine(Color color, float width)
Public Sub New(color As Color, width As Single)
Type | Name | Description |
---|---|---|
Color | color | Color of the line. |
float | width | Widht of the line. |
Width is measured in points.
Type | Condition |
---|---|
ArgumentOutOfRangeException | width is less than or equal to zero or width is greater than 3. |