I’ve been struck hard with an issue with the path class that is used to draw smooth lines on canvas with the canvas.drawPath(path,paint) function . Path class is useful for smoothing out lines with the path.quadTo() and cubeTo() function . But they do not let you draw a smoothed out line with varying thickness . I want to draw a Path on the canvas with increasing thickness up to a certain threshold width and then slim out at the end . Also i tried using a number of paths at every touch point of user but that fails when the user moves his finger really fast , because at that time a single path of a long length is obtained . Please help me i am in big trouble with this . Is there any other way of smoothing out lines .
Thank You
The correct way to do this is to use the PathMeausre class , where we can easily get subPaths from a prent path and manuplate them accordingly . When i ll be done with the code ,i ll post the snippet soon.