public String toRelativeCoordinates(final SvgPoint referencePoint) {
        return (new SvgPoint(x - referencePoint.x, y - referencePoint.y)).toString();
    }
Represent a point as it would be in the generated SVG document.
signature-pad/src/main/java/com/github/gcacace/signaturepad/utils/SvgPoint.java