// ---------------------------------------------------------------------------
/**
* Draws a character representing an arrow at the current position.
* @see com.itextpdf.text.pdf.draw.VerticalPositionMark#draw(
* com.itextpdf.text.pdf.PdfContentByte, float, float, float, float, float)
*/
// i'm so stupid; originally forgot to override parent method and wondered
// why the arrows weren't being drawn...
public override void Draw(
PdfContentByte canvas, float llx, float lly, float urx, float ury, float y
) {
canvas.BeginText();
canvas.SetFontAndSize(zapfdingbats, 12);
if (left) {
canvas.ShowTextAligned(Element.ALIGN_CENTER,
((char) 220).ToString(), llx - 10, y, 0
);
}
else {
canvas.ShowTextAligned(Element.ALIGN_CENTER,
((char) 220).ToString(), urx + 10, y + 8, 180
);
}
canvas.EndText();
}