cloneReverse method

Path cloneReverse()

Clone reverse order path. Does not change the original path. Returns a new Path with the coordinate order reversed.

The original Path is not modified.

Returns

  • A new Path whose coordinates run in the reverse order of this path.

Implementation

Path cloneReverse() {
  final OperationResult resultString = objectMethod(
    pointerId,
    'Path',
    'cloneReverse',
  );

  return Path.init(resultString['result']);
}