PDF4Java Reference Documentation
Inheritance Hierarchy Collapse All Expand All
In This Topic

com.o2sol.pdf4java.graphics Package
In This Topic
Provides support for creating PDF graphics.
Classes

Class | Description
--- | ---
PDFBrush | Defines PDF brush. The brush is used to fill a path with a color.
PDFCanvas | Defines a graphic surface.
PDFContentStream | Defines a low level graphics interface for drawing content on PDF pages. The methods in this class match the PDF operators defined in the PDF specification. A PDFContentStream object is created from a object and lets you inject specific PDF operators in the object, operators that are not available through the public API. This class gives you full control over the generated page content but it requires good knowledge of PDF specification.
PDFDisplayRectangle | Defines a rectangle relative to top left corner of the page.
PDFExtendedGraphicState | Defines the current graphic state in a PDF content stream.
PDFFormXObject | Defines a PDF form XObject.
PDFGroupXObject | Defines a group associated with a PDFFormXObject.
PDFHatchBrush | Defines a hatch brush.
PDFMatrix | Defines a PDF transformation matrix.
PDFPageCanvas | Defines the graphics surface of a PDF page.
PDFPageContent | Defines the graphic content of an existing PDF page.
PDFPath | Defines a PDF path. A path represents a series of connected lines and curves.
PDFPatternBrush | Defines a brush that uses a pattern to fill the path interior.
PDFPatternPen | Defines a pen that uses a pattern based color for stroking a path.
PDFPen | Defines a PDF pen. The pen is used to stroke a path outline with a color.
PDFPoint | Defines a PDF point.
PDFSize | Stores an ordered pair of floating-point numbers, typically the width and height of a rectangle.
PDFStandardRectangle | Defines a rectangle in PDF coordinate system.
PDFStringAppearanceOptions | Defines various appearance options for displaying text on page graphics.
PDFStringLayoutOptions | Defines various layout options for displaying text on page graphics.
PDFTransparencyGroup | Defines a transparency group.

Enumerations

Enumeration | Description
--- | ---
PDFBlendMode | Defines the supported PDF blend modes.
PDFFillMode | Specifies the available fill modes for a PDF path.
PDFFlipDirection | Defines the supported flip directions.
PDFGraphicAlign | Specifies the available align modes for content relative to a parent container.
PDFHatchBrushStyle | Defines the supported styles for hatch brushes.
PDFLineCap | Defines the supported line cap styles.
PDFLineJoin | Defines the supported line join styles.
PDFPageCanvasPosition | Defines the supported positions for page canvas when drawing on a page imported from an existing file.
PDFStringHorizontalAlign | Defines the supported horizontal align modes for text.
PDFStringVerticalAlign | Defines the supported vertical align modes for text.

See Also

#### Reference

PDF4Java Project

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.