ItextPdf : get Y position
<p>I'm using itextpdf 5 in my project</p>

<p>I want to draw a change bar for any element.</p>

<p>My method drawBar take in input Y1 and Y2 positions like this :</p>

<pre><code>drawBar(float y1, float y2, PdfWriter writer){
// draw bar
}
</code></pre>

<p>But I dont know how to get Y position for current pointer. Is it feasible ?</p>