I am creating Paths and adding multi lines in each path by using path.moveTo(x, y) and path.lineTo(x, y). Then canvas.drawPath(path, paint)>
path.moveTo(x, y)
path.lineTo(x, y)
canvas.drawPath(path, paint)>
You probably don't want to lineTo(c, d) and then immediately moveTo(c, d) which is the same point. If you do this, you won't get a nice corner join on the two line segments, which may look like an ugly gap.
lineTo(c, d)
moveTo(c, d)
Try removing that moveTo.
moveTo