java - How to get line thickness less than 1 with PDFBox -
i have been trying draw thin horizontal line pdfbox, appears there limit how thin can draw line. if use value less 1 line thickness looks same when provide 1 value. limitation pdfbox, or need different?
// looks same providing 1 setlinewidth() contentstream.setlinewidth(0.5f); contentstream.setstrokingcolor(color.black); contentstream.moveto(40f, 30f); contentstream.lineto(570f, 30f); contentstream.closeandstroke();
Comments
Post a Comment