Returns a new compoundpath, replacing a path at a given index

  • Parameters

    • compoundPath: CompoundPath

      Existing compoundpath

    • index: number

      Index to replace at

    • path: Path

      Path to substitute in

    Returns CompoundPath

    New compoundpath