O'Reilly logo

iText in Action: Creating and Manipulating PDF by Bruno Lowagie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Constructing and painting paths

This chapter covers

  • PDF’s graphics state

  • iText’s direct content

  • PDF’s Coordinate System

This chapter will discuss the graphics state of a PDF page. This is a data structure that describes the appearance of a page using PDF operators and operands. This is the short explanation; the PDF Reference spends almost 300 pages on graphics and text, so you’ll understand this definition is incomplete.

I have selected the most important issues, and I’ll explain them from the point of view of the iText developer in the next three chapters. You’ll learn how to draw lines and shapes, and you’ll use this newly acquired knowledge in combination with class PdfPTable (see chapter 6) to draw custom cell borders and backgrounds. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required