path.appendSegment(segment)
Append segment to the path.
segment
Also accepts an array of segments as an argument. The segments are appended in the order they appear in the provided array.
The function does not return anything.