Function clonePath

  • Clone a path.

    Parameters

    • sourcePath: Path<PathProps>
    • Optional opts: {
          bakeTransform?: boolean;
          toLocal?: boolean;
      }
      • Optional bakeTransform?: boolean

        If bake global transform to path.

      • Optional toLocal?: boolean

        Convert global transform to local.

    Returns Path<PathProps>