Polyline.extend

Polyline.extend(length)[source]

Extends a polyline by a given length, by modifying the first and/or last point tangentially.

length: float or tuple[float, float]

A single length value to extend the polyline only at the end, or two length values to extend at both ends.

Returns

None