Automating a Signature pad

Hi ,

can any one tell me how to handle esign pad,i tried different approaches but unable to handle.
Please share some example code on handling e sign pad guys.

Thanks,
Vijay

I am also facing the same issue. Guys please help.
Thanks in advance.

new TouchAction((MobileDriver)(driver))
    .press(new PointOption<>().withCoordinates(startX, startY))
    .moveTo(new PointOption<>().withCoordinates(endX, endY))
    .moveTo(new PointOption<>().withCoordinates(endX+50, endY+50))
    .release()
    .perform();