@Override
    public String toString() {
        return (new StringBuilder())
                .append("<path ")
                .append("stroke-width=\"")
                .append(mStrokeWidth)
                .append("\" ")
                .append("d=\"")
                .append(SVG_MOVE)
                .append(mStartPoint)
                .append(mStringBuilder)
                .append("\"/>")
                .toString();
    }
Build a SVG path as a string.

https://www.w3.org/TR/SVGTiny12/paths.html
signature-pad/src/main/java/com/github/gcacace/signaturepad/utils/SvgPathBuilder.java