reversed method

LineString reversed()

Returns a line string containing a chain with all positions in reversed order compared to the chain of this.

If bounds object is available on this, then the same bounds is used also by the returned object.

Implementation

LineString reversed() => LineString(chain.reversed(), bounds: bounds);