Sets the segment type of the segment that follows the node specified by . If the node is a control point for a curved segment, this method sets the segment type for that curve.
Parameters
- index
- The node whose segment type is to be set.
- segmentType
- Specifies if the segment is straight or curved.