SyntaxFix
Write A Post
Hire A Developer
Questions
canvas.drawLine(10, 10, 90, 10, paint); canvas.drawLine(10, 20, 90, 20, paint);
This will create a straight horizontal line, hope it helps!.