Function pathRound

  • Like path, except limits the digits after the decimal to the specified number of digits. Useful for reducing the size of generated SVG path data.

    Parameters

    • Optional digits: number

    Returns Path