Interface IDrawInterface
- Namespace
- iTextSharp.text.pdf.draw
- Assembly
- iTextSharp.LGPLv2.Core.dll
Interface for an Element that allows you to draw something at the current vertical position. Trivial implementations are LineSeparator and VerticalPositionMark. It is also used to define what has to be drawn by a separator chunk. @since 2.1.2
public interface IDrawInterface
Methods
Draw(PdfContentByte, float, float, float, float, float)
Implement this method if you want to draw something at the current Y position (for instance a line).
void Draw(PdfContentByte canvas, float llx, float lly, float urx, float ury, float y)
Parameters
canvas
PdfContentBytethe canvas on which you can draw
llx
floatthe x coordinate of the left page margin
lly
floatthe y coordinate of the bottom page margin
urx
floatthe x coordinate of the right page margin
ury
floatthe y coordinate of the top page margin
y
floatthe current y position on the page