How can i make this line horizontal?
<pre><code>for (int x = 0; x &lt; canvas.getHeight(); x += LINE_SPACING) {
canvas.drawLine(0, 0, 0, canvas.getWidth(), paint);
</code></pre>

<p>this code makes a vertical line. How can i make this horizontal</p>
