      if (radius0[0] > 0 || radius0[0] > 0) {       borderArgs.push(["line", outer0[0].start.x, outer0[0].start.y]);       outer0[0].curveTo(borderArgs);     } else {       borderArgs.push([ "line", borderData.c0[0], borderData.c0[0]]);     }      if (radius0[0] > 0 || radius0[0] > 0) {       borderArgs.push(["line", outer0[0].start.x, outer0[0].start.y]);       outer0[0].curveTo(borderArgs);       borderArgs.push(["line", inner0[0].end.x, inner0[0].end.y]);       inner0[0].curveToReversed(borderArgs);     } else {       borderArgs.push([ "line", borderData.c0[0], borderData.c0[0]]);       borderArgs.push([ "line", borderData.c0[0], borderData.c0[0]]);     }      if (radius0[0] > 0 || radius0[0] > 0) {       borderArgs.push(["line", inner0[0].end.x, inner0[0].end.y]);       inner0[0].curveToReversed(borderArgs);     } else {       borderArgs.push([ "line", borderData.c0[0], borderData.c0[0]]);     }      