[]
Creates a line with the specified color and width.
public EnhancedSolidLine(Color color, float width, CompoundType compoundType, DashType dashType, CapType capType, JoinType joinType, ArrowType beginArrowType, ArrowType endArrowType, int beginArrowSize, int endArrowSize)
Public Sub New(color As Color, width As Single, compoundType As CompoundType, dashType As DashType, capType As CapType, joinType As JoinType, beginArrowType As ArrowType, endArrowType As ArrowType, beginArrowSize As Integer, endArrowSize As Integer)
Type | Name | Description |
---|---|---|
Color | color | Color of the line. |
float | width | Width of the line. |
CompoundType | compoundType | |
DashType | dashType | Dash type of the line |
CapType | capType | Cap type of the line |
JoinType | joinType | Join type of the line |
ArrowType | beginArrowType | Arrow type at start of the line |
ArrowType | endArrowType | Arrow size at start of the line |
int | beginArrowSize | Arrow type at end of the line |
int | endArrowSize | Arrow size at end 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. |