[]
Sets the segment type of the segment that follows the node specified by index
.
If the node is a control point for a curved segment, this method sets the segment type for that curve.
void SetSegmentType(int index, SegmentType segmentType)
Sub SetSegmentType(index As Integer, segmentType As SegmentType)
Type | Name | Description |
---|---|---|
int | index | The node whose segment type is to be set. |
SegmentType | segmentType | Specifies if the segment is straight or curved. |
Note that this may affect the total number of nodes by inserting or deleting adjacent nodes.