removeAt

open override fun removeAt(index: Int): Segment

Remove a segment at the specified index from the part. If the segment connected to adjacent segments, then after a segment is removed a gap can be left behind.

Return

the segment that was removed.

Since

200.1.0

Parameters

index

Zero-based index of the point.

Throws

if index is out of range.