Function buildBezierPathString

Returns a path string for a path with a custom bezier curve.

  • Parameters

    • source: Coordinates

      The source coordinates.

    • target: Coordinates

      The target coordinates.

    • cpx1: number

      X coordinate for the first control point.

    • cpy1: number

      Y coordinate for the first control point.

    • cpx2: number

      X coordinate for the second control point.

    • cpy2: number

      Y coordinate for the second control point.

    Returns string

    The path string.