A B C D E F G H I J K L M N O P R S T U V W X 
All Classes All Packages

A

add(Page) - Method in class com.orsonpdf.Pages
 
addContent(String) - Method in class com.orsonpdf.GraphicsStream
 
addFilter(Filter) - Method in class com.orsonpdf.Stream
Adds a filter to the stream.
addImage(Image, boolean) - Method in class com.orsonpdf.Page
Adds an image to the page.
addObject(PDFObject) - Method in class com.orsonpdf.PDFDocument
Adds an object to the document.
addRenderingHints(Map<?, ?>) - Method in class com.orsonpdf.PDFGraphics2D
Adds all the supplied rendering hints.
addSoftMaskImage(Image) - Method in class com.orsonpdf.Page
Adds a soft mask image to the page.
alpha - Variable in class com.orsonpdf.GraphicsStream
The most recent alpha transparency value (in the range 0 to 255).
alphaDictionaries - Variable in class com.orsonpdf.Page
 
alphaFactor - Variable in class com.orsonpdf.GraphicsStream
 
applyAlpha(int) - Method in class com.orsonpdf.GraphicsStream
Applies the alpha transparency.
applyClip(Shape) - Method in class com.orsonpdf.GraphicsStream
Applies the specified clip to the current clip.
applyComposite(AlphaComposite) - Method in class com.orsonpdf.GraphicsStream
Applies the specified alpha composite.
applyFillColor(Color) - Method in class com.orsonpdf.GraphicsStream
Applies a color for filling.
applyFillGradient(GradientPaint) - Method in class com.orsonpdf.GraphicsStream
Applies a GradientPaint for filling.
applyFillGradient(RadialGradientPaint) - Method in class com.orsonpdf.GraphicsStream
Applies a RadialGradientPaint for filling.
applyFont(Font) - Method in class com.orsonpdf.GraphicsStream
Applies the specified font (in fact, no change is made to the stream until the next call to GraphicsStream.drawString(java.lang.String, float, float)).
applyStroke(Stroke) - Method in class com.orsonpdf.GraphicsStream
Applies a stroke.
applyStrokeColor(Color) - Method in class com.orsonpdf.GraphicsStream
Applies a color for stroking.
applyStrokeGradient(GradientPaint) - Method in class com.orsonpdf.GraphicsStream
Applies a GradientPaint for stroking.
applyStrokeGradient(RadialGradientPaint) - Method in class com.orsonpdf.GraphicsStream
Applies a RadialGradientPaint for stroking.
applyTextTransform(AffineTransform) - Method in class com.orsonpdf.GraphicsStream
Applies a text transform.
applyTransform(AffineTransform) - Method in class com.orsonpdf.GraphicsStream
Applies a graphics transform.
arc - Variable in class com.orsonpdf.PDFGraphics2D
An instance that is lazily instantiated in draw/fillArc and then subsequently reused to avoid creating a lot of garbage.
Args - Class in com.orsonpdf.util
A utility class that performs checks for method argument validity.
Args() - Constructor for class com.orsonpdf.util.Args
 
arrayMustHaveLength(int, boolean[], String) - Static method in class com.orsonpdf.util.Args
Checks an array to ensure it has the correct length and throws an IllegalArgumentException if it does not.
arrayMustHaveLength(int, double[], String) - Static method in class com.orsonpdf.util.Args
Checks an array to ensure it has the correct length and throws an IllegalArgumentException if it does not.
ASCII85 - com.orsonpdf.filter.FilterType
ASCII85 encoding.
ASCII85Filter - Class in com.orsonpdf.filter
A filter that can encode in ASCII-85 format.
ASCII85Filter() - Constructor for class com.orsonpdf.filter.ASCII85Filter
Default contructor.
Ascii85OutputStream - Class in com.orsonpdf.filter
An ascii85 encoder, implemented as an OutputStream.
Ascii85OutputStream(OutputStream) - Constructor for class com.orsonpdf.filter.Ascii85OutputStream
Creates an output stream to encode ascii85 data, using a default line with of 72 characters and not using the space character compression option.
Ascii85OutputStream(OutputStream, boolean) - Constructor for class com.orsonpdf.filter.Ascii85OutputStream
Creates an output stream to encode ascii85 data, using a default line width of 72 characters.
Ascii85OutputStream(OutputStream, int, boolean) - Constructor for class com.orsonpdf.filter.Ascii85OutputStream
Creates an output stream to encode ascii85 data.
author - Variable in class com.orsonpdf.PDFDocument
The author of the document (can be null).
AXIAL - com.orsonpdf.shading.ShadingType
Axial shading.
AxialShading - Class in com.orsonpdf.shading
An axial shading.
AxialShading(int, double[], Function) - Constructor for class com.orsonpdf.shading.AxialShading
Creates a new axial shading.

B

background - Variable in class com.orsonpdf.PDFGraphics2D
 
baseFont - Variable in class com.orsonpdf.PDFFont
The BaseFont (for example, "/Helvetica").
BASELINE_CENTER - com.orsonpdf.util.TextAnchor
Baseline/center.
BASELINE_LEFT - com.orsonpdf.util.TextAnchor
Baseline/left.
BASELINE_RIGHT - com.orsonpdf.util.TextAnchor
Baseline/right.
BOTTOM_CENTER - com.orsonpdf.util.TextAnchor
Bottom/center.
BOTTOM_LEFT - com.orsonpdf.util.TextAnchor
Bottom/left.
BOTTOM_RIGHT - com.orsonpdf.util.TextAnchor
Bottom/right.
bounds - Variable in class com.orsonpdf.Page
The page bounds.
bounds - Variable in class com.orsonpdf.StitchingFunction
 

C

c0 - Variable in class com.orsonpdf.ExponentialInterpolationFunction
 
c1 - Variable in class com.orsonpdf.ExponentialInterpolationFunction
 
catalog - Variable in class com.orsonpdf.PDFDocument
The document catalog.
CENTER - com.orsonpdf.util.TextAnchor
Middle/center.
CENTER_LEFT - com.orsonpdf.util.TextAnchor
Middle/left.
CENTER_RIGHT - com.orsonpdf.util.TextAnchor
Middle/right.
clearRect(int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Clears the specified rectangle by filling it with the current background color.
clip - Variable in class com.orsonpdf.PDFGraphics2D
The user clip (can be null).
clip(Shape) - Method in class com.orsonpdf.PDFGraphics2D
Clips to the intersection of the current clipping region and the specified shape.
clipRect(int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Clips to the intersection of the current clipping region and the specified rectangle.
color - Variable in class com.orsonpdf.PDFGraphics2D
 
com.orsonpdf - package com.orsonpdf
Contains PDFGraphics2D and supporting classes to allow Java2D rendering to Adobe's Portable Document Format (PDF).
com.orsonpdf.filter - package com.orsonpdf.filter
Filters that support the PDFGraphics2D implementation.
com.orsonpdf.shading - package com.orsonpdf.shading
Contains shading classes that support the PDFGraphics2D implementation.
com.orsonpdf.util - package com.orsonpdf.util
A utility package for the OrsonPDF library.
composite - Variable in class com.orsonpdf.PDFGraphics2D
 
content - Variable in class com.orsonpdf.GraphicsStream
The stream content.
contents - Variable in class com.orsonpdf.Page
The page contents.
convertRenderedImage(RenderedImage) - Static method in class com.orsonpdf.util.GraphicsUtils
Converts a rendered image to a BufferedImage.
COONS - com.orsonpdf.shading.ShadingType
 
coords - Variable in class com.orsonpdf.shading.AxialShading
Coordinates (x0, y0, x1, y1) defining the axis.
coords - Variable in class com.orsonpdf.shading.RadialShading
Coordinates (x0, y0, r0, x1, y1, r1).
copyArea(int, int, int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
This method does nothing.
copyOf(Shape) - Static method in class com.orsonpdf.util.GraphicsUtils
Returns a shape that is more or less equivalent to the supplied shape.
count - Variable in class com.orsonpdf.filter.Ascii85OutputStream
 
COURIER - Static variable in class com.orsonpdf.PDFFont
Identifier for the standard PDF font 'Courier'.
COURIER_BOLD - Static variable in class com.orsonpdf.PDFFont
Identifier for the standard PDF font 'Courier-Bold'.
COURIER_BOLDITALIC - Static variable in class com.orsonpdf.PDFFont
Identifier for the standard PDF font 'Courier-BoldItalic'.
COURIER_ITALIC - Static variable in class com.orsonpdf.PDFFont
Identifier for the standard PDF font 'Courier-Italic'.
create() - Method in class com.orsonpdf.PDFGraphics2D
Returns a new PDFGraphics2D instance that is a copy of this instance.
createCompatibleVolatileImage(int, int, ImageCapabilities, int) - Method in class com.orsonpdf.PDFGraphicsConfiguration
 
createDictionary() - Method in class com.orsonpdf.Page
 
createDictionary() - Method in class com.orsonpdf.Pages
 
createDictionary() - Method in class com.orsonpdf.PDFFont
 
createDictionary(int) - Method in class com.orsonpdf.PDFImage
Creates a dictionary reflecting the current configuration for this image.
createDictionary(int) - Method in class com.orsonpdf.PDFSoftMaskImage
Creates a dictionary reflecting the current configuration for this image.
createDictionary(int) - Method in class com.orsonpdf.Stream
Creates the dictionary for this stream object.
createFontDictionary() - Method in class com.orsonpdf.Page
 
createFontKey(Font) - Static method in class com.orsonpdf.FontKey
Creates a new key for a given font.
createFunctionForMultipleGradient(MultipleGradientPaint) - Method in class com.orsonpdf.Page
 
createPage(Rectangle2D) - Method in class com.orsonpdf.PDFDocument
Creates a new Page, adds it to the document, and returns a reference to the Page.
createPolygon(int[], int[], int, boolean) - Static method in class com.orsonpdf.util.GraphicsUtils
Creates a polygon for from the specified x and y coordinates.

D

debug - Variable in class com.orsonpdf.PDFDocument
A flag that is used to indicate that we are in DEBUG mode.
decode - Variable in enum com.orsonpdf.filter.FilterType
 
defaultConfig - Variable in class com.orsonpdf.PDFGraphicsDevice
 
DefaultFontMapper - Class in com.orsonpdf
A class that can be used to map AWT/Java2D fonts to PDF built-in font names.
DefaultFontMapper() - Constructor for class com.orsonpdf.DefaultFontMapper
Creates a new instance with default mappings.
deriveRotationAnchorOffsets(Graphics2D, String, TextAnchor) - Static method in class com.orsonpdf.util.TextUtils
A utility method that calculates the rotation anchor offsets for a string.
deriveTextBoundsAnchorOffsets(Graphics2D, String, TextAnchor) - Static method in class com.orsonpdf.util.TextUtils
A utility method that calculates the anchor offsets for a string.
deriveTextBoundsAnchorOffsets(Graphics2D, String, TextAnchor, Rectangle2D) - Static method in class com.orsonpdf.util.TextUtils
A utility method that calculates the anchor offsets for a string.
device - Variable in class com.orsonpdf.PDFGraphicsConfiguration
 
deviceConfiguration - Variable in class com.orsonpdf.PDFGraphics2D
 
dictionary - Variable in class com.orsonpdf.DictionaryObject
 
dictionary - Variable in class com.orsonpdf.Function
The function dictionary.
dictionary - Variable in class com.orsonpdf.Pattern
 
dictionary - Variable in class com.orsonpdf.shading.Shading
The dictionary.
Dictionary - Class in com.orsonpdf
A dictionary is a map and supports writing the bytes for the dictionary in the PDF syntax.
Dictionary() - Constructor for class com.orsonpdf.Dictionary
Creates a new instance with no type.
Dictionary(String) - Constructor for class com.orsonpdf.Dictionary
Creates a new dictionary with the specified type (which can be null).
DictionaryObject - Class in com.orsonpdf
A PDF object that is represented by a dictionary.
DictionaryObject(int, String) - Constructor for class com.orsonpdf.DictionaryObject
Creates a new instance.
dispose() - Method in class com.orsonpdf.PDFGraphics2D
Performs any actions required when the graphics instance is finished with.
domain - Variable in class com.orsonpdf.Function
The function domain.
domain - Variable in class com.orsonpdf.shading.AxialShading
The domain.
domain - Variable in class com.orsonpdf.shading.RadialShading
The domain.
draw(Shape) - Method in class com.orsonpdf.PDFGraphics2D
Draws the specified shape with the current paint and stroke.
drawAlignedString(String, Graphics2D, float, float, TextAnchor) - Static method in class com.orsonpdf.util.TextUtils
Draws a string such that the specified anchor point is aligned to the given (x, y) location.
drawArc(int, int, int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Draws an arc contained within the rectangle (x, y, width, height), starting at startAngle and continuing through arcAngle degrees using the current paint and stroke.
drawGlyphVector(GlyphVector, float, float) - Method in class com.orsonpdf.PDFGraphics2D
Draws the specified glyph vector at the location (x, y).
drawImage(BufferedImage, BufferedImageOp, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Draws the image resulting from applying the BufferedImageOp to the specified image at the location (x, y).
drawImage(Image, int, int, int, int) - Method in class com.orsonpdf.GraphicsStream
Draws the specified image into the rectangle (x, y, w, h).
drawImage(Image, int, int, int, int, int, int, int, int, Color, ImageObserver) - Method in class com.orsonpdf.PDFGraphics2D
Draws part of an image (defined by the source rectangle (sx1, sy1, sx2, sy2)) into the destination rectangle (dx1, dy1, dx2, dy2).
drawImage(Image, int, int, int, int, int, int, int, int, ImageObserver) - Method in class com.orsonpdf.PDFGraphics2D
Draws part of an image (defined by the source rectangle (sx1, sy1, sx2, sy2)) into the destination rectangle (dx1, dy1, dx2, dy2).
drawImage(Image, int, int, int, int, Color, ImageObserver) - Method in class com.orsonpdf.PDFGraphics2D
Draws an image to the rectangle (x, y, w, h) (scaling it if required), first filling the background with the specified color.
drawImage(Image, int, int, int, int, ImageObserver) - Method in class com.orsonpdf.PDFGraphics2D
Draws the image into the rectangle defined by (x, y, w, h).
drawImage(Image, int, int, Color, ImageObserver) - Method in class com.orsonpdf.PDFGraphics2D
Draws an image at the location (x, y).
drawImage(Image, int, int, ImageObserver) - Method in class com.orsonpdf.PDFGraphics2D
Draws an image at the location (x, y).
drawImage(Image, AffineTransform, ImageObserver) - Method in class com.orsonpdf.PDFGraphics2D
Draws an image with the specified transform.
drawLine(int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Draws a line from (x1, y1) to (x2, y2) using the current paint and stroke.
drawLine(Line2D) - Method in class com.orsonpdf.GraphicsStream
Draws the specified line.
drawOval(int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Draws an oval framed by the rectangle (x, y, width, height) using the current paint and stroke.
drawPath2D(Path2D) - Method in class com.orsonpdf.GraphicsStream
Draws the specified path.
drawPolygon(int[], int[], int) - Method in class com.orsonpdf.PDFGraphics2D
Draws the specified polygon using the current paint and stroke.
drawPolyline(int[], int[], int) - Method in class com.orsonpdf.PDFGraphics2D
Draws the specified multi-segment line using the current paint and stroke.
drawRenderableImage(RenderableImage, AffineTransform) - Method in class com.orsonpdf.PDFGraphics2D
Draws the renderable image.
drawRenderedImage(RenderedImage, AffineTransform) - Method in class com.orsonpdf.PDFGraphics2D
Draws the rendered image.
drawRotatedString(String, Graphics2D, double, float, float) - Static method in class com.orsonpdf.util.TextUtils
A utility method for drawing rotated text.
drawRotatedString(String, Graphics2D, float, float, double, float, float) - Static method in class com.orsonpdf.util.TextUtils
A utility method for drawing rotated text.
drawRotatedString(String, Graphics2D, float, float, TextAnchor, double, float, float) - Static method in class com.orsonpdf.util.TextUtils
Draws a string that is aligned by one anchor point and rotated about another anchor point.
drawRotatedString(String, Graphics2D, float, float, TextAnchor, double, TextAnchor) - Static method in class com.orsonpdf.util.TextUtils
Draws a string that is aligned by one anchor point and rotated about another anchor point.
drawRoundRect(int, int, int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Draws a rectangle with rounded corners using the current paint and stroke.
drawString(String, float, float) - Method in class com.orsonpdf.GraphicsStream
Draws a string at the specified location.
drawString(String, float, float) - Method in class com.orsonpdf.PDFGraphics2D
Draws a string at (x, y).
drawString(String, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Draws a string at (x, y).
drawString(AttributedCharacterIterator, float, float) - Method in class com.orsonpdf.PDFGraphics2D
Draws a string of attributed characters at (x, y).
drawString(AttributedCharacterIterator, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Draws a string of attributed characters at (x, y).

E

encode - Variable in class com.orsonpdf.StitchingFunction
 
encode(byte[]) - Method in class com.orsonpdf.filter.ASCII85Filter
 
encode(byte[]) - Method in interface com.orsonpdf.filter.Filter
Apply the encoding to the bytes in source and return the encoded data in a new array.
encode(byte[]) - Method in class com.orsonpdf.filter.FlateFilter
 
encode(int, int) - Method in class com.orsonpdf.filter.Ascii85OutputStream
Encodes tuple and writes it to the output stream.
encoding - Variable in class com.orsonpdf.filter.Ascii85OutputStream
 
encoding - Variable in class com.orsonpdf.PDFFont
 
equals(Object) - Method in class com.orsonpdf.FontKey
Tests this key for equality with an arbitrary object.
equals(Object) - Method in class com.orsonpdf.util.GradientPaintKey
Checks this instance for equality with an arbitrary object.
equals(Object) - Method in class com.orsonpdf.util.RadialGradientPaintKey
Tests this instance for equality with an arbitrary object.
equals(Object, Object) - Static method in class com.orsonpdf.util.ObjectUtils
Returns true if the objects are equal or both null, and false otherwise.
EXPONENTIAL_INTERPOLATION - com.orsonpdf.FunctionType
PDF function type 2.
ExponentialInterpolationFunction - Class in com.orsonpdf
A PDF "Type 2" function.
ExponentialInterpolationFunction(int, float[], float[]) - Constructor for class com.orsonpdf.ExponentialInterpolationFunction
Creates a new function.
extend - Variable in class com.orsonpdf.shading.AxialShading
The extend flags (two of them).
extend - Variable in class com.orsonpdf.shading.RadialShading
The extend flags (two of them).

F

f - Variable in class com.orsonpdf.util.RadialGradientPaintKey
 
fill(Shape) - Method in class com.orsonpdf.PDFGraphics2D
Fills the specified shape with the current paint.
fillArc(int, int, int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Fills an arc contained within the rectangle (x, y, width, height), starting at startAngle and continuing through arcAngle degrees, using the current paint
fillOval(int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Fills an oval framed by the rectangle (x, y, width, height).
fillPath2D(Path2D) - Method in class com.orsonpdf.GraphicsStream
Fills the specified path.
fillPolygon(int[], int[], int) - Method in class com.orsonpdf.PDFGraphics2D
Fills the specified polygon using the current paint.
fillRect(int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Fills the specified rectangle with the current paint.
fillRoundRect(int, int, int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Fills a rectangle with rounded corners.
Filter - Interface in com.orsonpdf.filter
A filter that can be used to encode stream data in PDF output.
filters - Variable in class com.orsonpdf.Stream
Filters (if any) to apply to the stream data.
FilterType - Enum in com.orsonpdf.filter
Filter types for PDF streams.
FilterType(String) - Constructor for enum com.orsonpdf.filter.FilterType
Creates a new filter type.
findOrCreateFontReference(Font) - Method in class com.orsonpdf.Page
Finds the font reference corresponding to the given Java2D font, creating a new one if there isn't one already.
findOrCreateFontReference(Font) - Method in class com.orsonpdf.Pages
Finds or creates a font reference for the specified AWT font.
findOrCreateGSDictionary(int) - Method in class com.orsonpdf.Page
Returns the name of the Graphics State Dictionary that can be used for the specified alpha value - if there is no existing dictionary then a new one is created.
findOrCreatePattern(GradientPaint) - Method in class com.orsonpdf.Page
Returns the name of the pattern for the specified GradientPaint, reusing an existing pattern if possible, otherwise creating a new pattern if necessary.
findOrCreatePattern(RadialGradientPaint) - Method in class com.orsonpdf.Page
Returns the name of the pattern for the specified RadialGradientPaint, reusing an existing pattern if possible, otherwise creating a new pattern if necessary.
FLATE - com.orsonpdf.filter.FilterType
Flate encoding.
FlateFilter - Class in com.orsonpdf.filter
Encodes data using Flate.
FlateFilter() - Constructor for class com.orsonpdf.filter.FlateFilter
Default constructor.
flush() - Method in class com.orsonpdf.filter.Ascii85OutputStream
Adds the closing block and flushes the underlying output stream.
font - Variable in class com.orsonpdf.GraphicsStream
The most recent font applied.
font - Variable in class com.orsonpdf.PDFGraphics2D
 
FontKey - Class in com.orsonpdf
A key to represent a Java2D font.
FontKey(String, boolean, boolean) - Constructor for class com.orsonpdf.FontKey
Creates a new font key.
fontMap - Variable in class com.orsonpdf.Pages
 
fontMapper - Variable in class com.orsonpdf.Pages
 
FontMapper - Interface in com.orsonpdf
Maps an AWT font to a PDF built-in font.
fontRenderContext - Variable in class com.orsonpdf.PDFGraphics2D
The font render context.
fonts - Variable in class com.orsonpdf.Pages
The list of font objects used in the document.
fontsOnPage - Variable in class com.orsonpdf.Page
The list of font (names) used on the page.
FREE_FORM - com.orsonpdf.shading.ShadingType
 
function - Variable in class com.orsonpdf.shading.AxialShading
The shading function.
function - Variable in class com.orsonpdf.shading.RadialShading
The shading function.
Function - Class in com.orsonpdf
A PDF function object.
Function(int, FunctionType) - Constructor for class com.orsonpdf.Function
Creates a new function.
FUNCTION - com.orsonpdf.shading.ShadingType
 
functions - Variable in class com.orsonpdf.StitchingFunction
 
functionType - Variable in class com.orsonpdf.Function
The function type.
FunctionType - Enum in com.orsonpdf
The PDF function types.
FunctionType(int) - Constructor for enum com.orsonpdf.FunctionType
 

G

generation - Variable in class com.orsonpdf.PDFObject
 
geomDP(double) - Method in class com.orsonpdf.GraphicsStream
 
geometryFormat - Variable in class com.orsonpdf.GraphicsStream
The decimal formatter for coordinates of geometrical shapes.
getAuthor() - Method in class com.orsonpdf.PDFDocument
Returns the author for the document.
getBackground() - Method in class com.orsonpdf.PDFGraphics2D
Returns the background color.
getBounds() - Method in class com.orsonpdf.Page
Returns a new rectangle containing the bounds for this page (as supplied to the constructor).
getBounds() - Method in class com.orsonpdf.PDFGraphicsConfiguration
Returns the bounds for this configuration.
getC0() - Method in class com.orsonpdf.ExponentialInterpolationFunction
Returns the function result when x is 0.0.
getC1() - Method in class com.orsonpdf.ExponentialInterpolationFunction
Returns the function result when x is 1.0.
getClip() - Method in class com.orsonpdf.PDFGraphics2D
Returns the user clipping region.
getClipBounds() - Method in class com.orsonpdf.PDFGraphics2D
Returns the bounds of the user clipping region.
getColor() - Method in class com.orsonpdf.PDFGraphics2D
Returns the foreground color.
getColorModel() - Method in class com.orsonpdf.PDFGraphicsConfiguration
Returns the color model for this configuration.
getColorModel(int) - Method in class com.orsonpdf.PDFGraphicsConfiguration
Returns the color model for the specified transparency type, or null.
getComposite() - Method in class com.orsonpdf.PDFGraphics2D
Returns the current composite.
getConfigurations() - Method in class com.orsonpdf.PDFGraphicsDevice
Returns all configurations for this device.
getContents() - Method in class com.orsonpdf.Page
Returns the PDFObject that represents the page content.
getCoords() - Method in class com.orsonpdf.shading.AxialShading
Returns a copy of the axis coordinates array (x1, y1, x2, y2).
getCoords() - Method in class com.orsonpdf.shading.RadialShading
Returns a copy of the axis coordinates array (x1, y1, x2, y2).
getDecode() - Method in enum com.orsonpdf.filter.FilterType
Returns the decode value that can be written in the PDF output for this filter type.
getDefaultConfiguration() - Method in class com.orsonpdf.PDFGraphicsDevice
Returns the default configuration for this device.
getDefaultTransform() - Method in class com.orsonpdf.PDFGraphicsConfiguration
Returns the default transform.
getDevice() - Method in class com.orsonpdf.PDFGraphicsConfiguration
Returns the graphics device that this configuration is associated with.
getDeviceConfiguration() - Method in class com.orsonpdf.PDFGraphics2D
Returns the device configuration associated with this Graphics2D.
getDocument() - Method in class com.orsonpdf.Pages
Returns the PDF document that the pages belong to.
getDomain() - Method in class com.orsonpdf.Function
Returns the function domain.
getDomain() - Method in class com.orsonpdf.shading.AxialShading
Returns the function domain.
getDomain() - Method in class com.orsonpdf.shading.RadialShading
Returns the function domain.
getExtend() - Method in class com.orsonpdf.shading.AxialShading
Returns the extend array.
getExtend() - Method in class com.orsonpdf.shading.RadialShading
Returns the extend array.
getFilterType() - Method in class com.orsonpdf.filter.ASCII85Filter
Returns the filter type.
getFilterType() - Method in interface com.orsonpdf.filter.Filter
Returns the filter type.
getFilterType() - Method in class com.orsonpdf.filter.FlateFilter
Returns the filter type.
getFont() - Method in class com.orsonpdf.PDFGraphics2D
Returns the current font used for drawing text.
getFont(String) - Method in class com.orsonpdf.Pages
Returns the PDF font with the specified name, or null if there is no font with that name.
getFontMetrics(Font) - Method in class com.orsonpdf.PDFGraphics2D
Returns the font metrics for the specified font.
getFontRenderContext() - Method in class com.orsonpdf.PDFGraphics2D
Returns the font render context.
getFonts() - Method in class com.orsonpdf.Pages
Returns a list of fonts used in these pages.
getFunction() - Method in class com.orsonpdf.shading.AxialShading
Returns the function for this shading.
getFunction() - Method in class com.orsonpdf.shading.RadialShading
Returns the function for this shading.
getFunctionType() - Method in class com.orsonpdf.Function
Returns the function type.
getGeneration() - Method in class com.orsonpdf.PDFObject
Returns the PDF object generation number.
getGraphics2D() - Method in class com.orsonpdf.Page
Returns the PDFGraphics2D instance for drawing to the page.
getIDstring() - Method in class com.orsonpdf.PDFGraphicsDevice
Returns the id string.
getN() - Method in class com.orsonpdf.ExponentialInterpolationFunction
Returns the interpolation exponent.
getName() - Method in class com.orsonpdf.PDFFont
Returns the name of the font within the PDF document (this is not the same as the font name).
getNextNumber() - Method in class com.orsonpdf.PDFDocument
Returns a new PDF object number and increments the internal counter for the next PDF object number.
getNonStrokeAlpha() - Method in class com.orsonpdf.GraphicsStateDictionary
Returns the non-stroke alpha (a value in the range 0.0 to 1.0).
getNormalizingTransform() - Method in class com.orsonpdf.PDFGraphicsConfiguration
Returns the normalizing transform.
getNumber() - Method in enum com.orsonpdf.FunctionType
Returns the PDF number for the function type.
getNumber() - Method in class com.orsonpdf.PDFObject
Returns the PDF object number (specified in the constructor).
getNumber() - Method in enum com.orsonpdf.shading.ShadingType
Returns the PDF number for the shading type.
getObjectBytes() - Method in class com.orsonpdf.DictionaryObject
Returns the bytes that go between the 'obj' and 'endobj' in the PDF output for this object.
getObjectBytes() - Method in class com.orsonpdf.Function
Returns the bytes that go between the 'obj' and 'endobj' in the PDF output for this object.
getObjectBytes() - Method in class com.orsonpdf.Page
 
getObjectBytes() - Method in class com.orsonpdf.Pages
 
getObjectBytes() - Method in class com.orsonpdf.Pattern
Returns the bytes that go between the 'obj' and 'endobj' in the PDF output for this object.
getObjectBytes() - Method in class com.orsonpdf.PDFFont
Returns the bytes that go between the 'obj' and 'endobj' in the PDF output for this object.
getObjectBytes() - Method in class com.orsonpdf.PDFObject
Returns the bytes that go between the 'obj' and 'endobj' in the PDF output for this object.
getObjectBytes() - Method in class com.orsonpdf.shading.Shading
Returns the bytes that go between the 'obj' and 'endobj' in the PDF output for this object.
getObjectBytes() - Method in class com.orsonpdf.Stream
Returns the PDF bytes for this stream object, with all current filters applied.
getPages() - Method in class com.orsonpdf.Pages
Returns a list of the pages in this object.
getPaint() - Method in class com.orsonpdf.PDFGraphics2D
Returns the paint used to draw or fill shapes (or text).
getPaint() - Method in class com.orsonpdf.util.GradientPaintKey
Returns the GradientPaint that was supplied to the constructor.
getPaint() - Method in class com.orsonpdf.util.RadialGradientPaintKey
Returns the RadialGradientPaint that was supplied to the constructor.
getPDFBytes() - Method in class com.orsonpdf.PDFDocument
Returns a byte array containing the encoding of this PDF document.
getPDFPath(Path2D) - Method in class com.orsonpdf.GraphicsStream
A utility method to convert a Path2D instance to a PDF path string.
getRawStreamData() - Method in class com.orsonpdf.GraphicsStream
 
getRawStreamData() - Method in class com.orsonpdf.PDFImage
Returns the raw image data.
getRawStreamData() - Method in class com.orsonpdf.PDFSoftMaskImage
Returns the raw image data.
getRawStreamData() - Method in class com.orsonpdf.Stream
Returns the raw data for the stream.
getReference() - Method in class com.orsonpdf.PDFObject
Returns the PDF reference string for this object (for example, "2 0 R").
getRenderingHint(RenderingHints.Key) - Method in class com.orsonpdf.PDFGraphics2D
Returns the current value for the specified hint.
getRenderingHints() - Method in class com.orsonpdf.PDFGraphics2D
Returns a copy of the rendering hints.
getShading() - Method in class com.orsonpdf.Pattern.ShadingPattern
Returns the shading.
getShadingType() - Method in class com.orsonpdf.shading.Shading
Returns the shading type.
getStroke() - Method in class com.orsonpdf.PDFGraphics2D
Returns the current stroke (used when drawing shapes).
getStrokeAlpha() - Method in class com.orsonpdf.GraphicsStateDictionary
Returns the stroke alpha (in the range 0.0 to 1.0).
getTextBounds(String, Graphics2D, FontMetrics) - Static method in class com.orsonpdf.util.TextUtils
Returns the bounds for the specified text.
getTitle() - Method in class com.orsonpdf.PDFDocument
Returns the title for the document.
getTransform() - Method in class com.orsonpdf.PDFGraphics2D
Returns a copy of the current transform.
getType() - Method in class com.orsonpdf.Dictionary
Returns the dictionary type.
getType() - Method in class com.orsonpdf.PDFGraphicsDevice
Returns the device type.
GradientPaintKey - Class in com.orsonpdf.util
A wrapper for a GradientPaint that can be used as the key for a HashMap.
GradientPaintKey(GradientPaint) - Constructor for class com.orsonpdf.util.GradientPaintKey
Creates a new instance based on the specified paint.
gradientPaintsOnPage - Variable in class com.orsonpdf.Page
A map between gradient paints and the names used to define the associated pattern in the page resources.
graphics2d - Variable in class com.orsonpdf.Page
The Graphics2D for writing to the page contents.
GraphicsStateDictionary - Class in com.orsonpdf
A graphics state dictionary.
GraphicsStateDictionary(int) - Constructor for class com.orsonpdf.GraphicsStateDictionary
Creates a new instance with the type /ExtGState.
graphicsStates - Variable in class com.orsonpdf.Page
The ExtGState dictionary for the page.
GraphicsStream - Class in com.orsonpdf
A Stream that contains graphics for the PDF document that can be generated via the PDFGraphics2D class.
GraphicsStream(int, Page) - Constructor for class com.orsonpdf.GraphicsStream
Creates a new instance.
GraphicsUtils - Class in com.orsonpdf.util
Utility methods for shapes and images.
GraphicsUtils() - Constructor for class com.orsonpdf.util.GraphicsUtils
 
gs - Variable in class com.orsonpdf.PDFGraphics2D
The content created by the Graphics2D instance.

H

HALF_ASCENT_CENTER - com.orsonpdf.util.TextAnchor
Half-ascent/center.
HALF_ASCENT_LEFT - com.orsonpdf.util.TextAnchor
Half-ascent/left.
HALF_ASCENT_RIGHT - com.orsonpdf.util.TextAnchor
Half-ascent/right.
hashCode() - Method in class com.orsonpdf.FontKey
Returns a hash code for this instance.
hashCode() - Method in class com.orsonpdf.util.GradientPaintKey
Returns a hash code for this instance.
hashCode() - Method in class com.orsonpdf.util.RadialGradientPaintKey
Returns a hash code for this instance.
hashCode(Object) - Static method in class com.orsonpdf.util.ObjectUtils
Returns the hash code for the object, or 0 if the object is null.
height - Variable in class com.orsonpdf.PDFGraphics2D
 
height - Variable in class com.orsonpdf.PDFGraphicsConfiguration
 
height - Variable in class com.orsonpdf.PDFImage
The height.
height - Variable in class com.orsonpdf.PDFSoftMaskImage
The height.
HELVETICA - Static variable in class com.orsonpdf.PDFFont
Identifier for the standard PDF font 'Helvetica'.
HELVETICA_BOLD - Static variable in class com.orsonpdf.PDFFont
Identifier for the standard PDF font 'Helvetica-Bold'.
HELVETICA_BOLDOBLIQUE - Static variable in class com.orsonpdf.PDFFont
Identifier for the standard PDF font 'Helvetica-BoldOblique'.
HELVETICA_OBLIQUE - Static variable in class com.orsonpdf.PDFFont
Identifier for the standard PDF font 'Helvetica-Oblique'.
hints - Variable in class com.orsonpdf.PDFGraphics2D
Rendering hints (all ignored).
hit(Rectangle, Shape, boolean) - Method in class com.orsonpdf.PDFGraphics2D
Returns true if the rectangle (in device space) intersects with the shape (the interior, if onStroke is false, otherwise the stroked outline of the shape).

I

id - Variable in class com.orsonpdf.PDFGraphicsDevice
 
image - Variable in class com.orsonpdf.PDFGraphics2D
A hidden image used for font metrics.
image - Variable in class com.orsonpdf.PDFImage
The image.
image - Variable in class com.orsonpdf.PDFSoftMaskImage
The image.
img - Variable in class com.orsonpdf.PDFGraphicsConfiguration
 
info - Variable in class com.orsonpdf.PDFDocument
Document info.
invTransformedClip(Shape) - Method in class com.orsonpdf.PDFGraphics2D
 
isBaseline() - Method in enum com.orsonpdf.util.TextAnchor
Returns true if this anchor is at the baseline level of the text bounds, and false otherwise.
isBold - Variable in class com.orsonpdf.FontKey
Flag for bold.
isBottom() - Method in enum com.orsonpdf.util.TextAnchor
Returns true if this anchor is at the bottom of the text bounds, and false otherwise.
isCompatibleValue(Object) - Method in class com.orsonpdf.PDFHints.Key
Returns true if val is a value that is compatible with this key, and false otherwise.
isDebugMode() - Method in class com.orsonpdf.PDFDocument
Returns the debug mode flag that controls whether or not the output stream is filtered.
isEmpty() - Method in class com.orsonpdf.Dictionary
Returns true if the dictionary has no entries, and false otherwise.
isHalfAscent() - Method in enum com.orsonpdf.util.TextAnchor
Returns true if this anchor is at the half-ascent level of the text bounds, and false otherwise.
isHalfHeight() - Method in enum com.orsonpdf.util.TextAnchor
Returns true if this anchor is at the half-height level of the text bounds, and false otherwise.
isHorizontalCenter() - Method in enum com.orsonpdf.util.TextAnchor
Returns true if this anchor is horizontally at the center of the text bounds, and false otherwise.
isItalic - Variable in class com.orsonpdf.FontKey
Flag for italic.
isLeft() - Method in enum com.orsonpdf.util.TextAnchor
Returns true if this anchor is at the left side of the text bounds, and false otherwise.
isRight() - Method in enum com.orsonpdf.util.TextAnchor
Returns true if this anchor is at the right side of the text bounds, and false otherwise.
isTop() - Method in enum com.orsonpdf.util.TextAnchor
Returns true if this anchor is at the top of the text bounds, and false otherwise.

J

j2DTransform - Variable in class com.orsonpdf.Page
The transform between Page and Java2D coordinates, used in Shading patterns.

K

Key(int) - Constructor for class com.orsonpdf.PDFHints.Key
 
KEY_DRAW_STRING_TYPE - Static variable in class com.orsonpdf.PDFHints
The key for the hint that controls whether strings are rendered as characters (standard PDF output) or vector graphics (implemented using TextLayout).

L

LATTICE_FORM - com.orsonpdf.shading.ShadingType
 
line - Variable in class com.orsonpdf.PDFGraphics2D
An instance that is lazily instantiated in drawLine and then subsequently reused to avoid creating a lot of garbage.
LOGGER - Static variable in class com.orsonpdf.PDFDocument
 

M

map - Variable in class com.orsonpdf.DefaultFontMapper
 
map - Variable in class com.orsonpdf.Dictionary
Data storage.
mapToBaseFont(Font) - Method in class com.orsonpdf.DefaultFontMapper
 
mapToBaseFont(Font) - Method in interface com.orsonpdf.FontMapper
Returns the name of the PDF built-in font that should be used in place of the specified AWT/Java2D font.

N

n - Variable in class com.orsonpdf.ExponentialInterpolationFunction
 
name - Variable in class com.orsonpdf.FontKey
The key name.
name - Variable in class com.orsonpdf.PDFFont
 
name - Variable in enum com.orsonpdf.util.TextAnchor
The name.
nextFont - Variable in class com.orsonpdf.Pages
 
nextNumber - Variable in class com.orsonpdf.PDFDocument
The next PDF object number in the document.
nonStrokeAlpha - Variable in class com.orsonpdf.GraphicsStateDictionary
 
nullNotPermitted(Object, String) - Static method in class com.orsonpdf.util.Args
Checks that an argument is non-null and throws an IllegalArgumentException otherwise.
number - Variable in enum com.orsonpdf.FunctionType
The PDF number for the function type.
number - Variable in class com.orsonpdf.PDFObject
 
number - Variable in enum com.orsonpdf.shading.ShadingType
The PDF number for this shading type.

O

objectIntroString() - Method in class com.orsonpdf.PDFObject
 
ObjectUtils - Class in com.orsonpdf.util
Some utility methods.
ObjectUtils() - Constructor for class com.orsonpdf.util.ObjectUtils
 
originalTransform - Variable in class com.orsonpdf.PDFGraphics2D
When an instance is created via the PDFGraphics2D.create() method, a copy of the transform in effect is retained so it can be restored once the child instance is disposed.
otherObjects - Variable in class com.orsonpdf.PDFDocument
A list of other objects added to the document.
outlines - Variable in class com.orsonpdf.PDFDocument
The outlines (placeholder, outline support is not implemented).
oval - Variable in class com.orsonpdf.PDFGraphics2D
An instance that is lazily instantiated in draw/fillOval and then subsequently reused to avoid creating a lot of garbage.

P

page - Variable in class com.orsonpdf.GraphicsStream
The page the graphics stream belongs to.
Page - Class in com.orsonpdf
Represents a page in a PDFDocument.
Page(int, int, Pages, Rectangle2D) - Constructor for class com.orsonpdf.Page
Creates a new page.
Page(int, int, Pages, Rectangle2D, boolean) - Constructor for class com.orsonpdf.Page
Creates a new page.
pages - Variable in class com.orsonpdf.Pages
 
pages - Variable in class com.orsonpdf.PDFDocument
The pages of the document.
Pages - Class in com.orsonpdf
A PDFObject that maintains the list of pages for the document.
Pages(int, int, PDFDocument) - Constructor for class com.orsonpdf.Pages
Creates a new Pages object.
paint - Variable in class com.orsonpdf.PDFGraphics2D
 
paint - Variable in class com.orsonpdf.util.GradientPaintKey
 
paint - Variable in class com.orsonpdf.util.RadialGradientPaintKey
 
parent - Variable in class com.orsonpdf.Page
The pages of the document.
parent - Variable in class com.orsonpdf.Pages
The PDF document.
Pattern - Class in com.orsonpdf
A pattern object (see the concrete subclass Pattern.ShadingPattern).
Pattern(int) - Constructor for class com.orsonpdf.Pattern
Creates a new pattern object.
Pattern.ShadingPattern - Class in com.orsonpdf
A shading pattern object.
patterns - Variable in class com.orsonpdf.Page
The pattern dictionary for this page.
PDFDocument - Class in com.orsonpdf
Represents a PDF document.
PDFDocument() - Constructor for class com.orsonpdf.PDFDocument
Creates a new PDFDocument, initially with no content.
PDFFont - Class in com.orsonpdf
A PDFObject representing a PDF font.
PDFFont(int, int, String, String, String) - Constructor for class com.orsonpdf.PDFFont
Creates a new PDFFont instance.
PDFGraphics2D - Class in com.orsonpdf
A Graphics2D implementation that writes to PDF format.
PDFGraphics2D(GraphicsStream, int, int) - Constructor for class com.orsonpdf.PDFGraphics2D
Creates a new instance of PDFGraphics2D.
PDFGraphics2D(GraphicsStream, int, int, boolean) - Constructor for class com.orsonpdf.PDFGraphics2D
Creates a new instance of PDFGraphics2D.
PDFGraphicsConfiguration - Class in com.orsonpdf
A graphics configuration for the PDFGraphics2D class.
PDFGraphicsConfiguration(int, int) - Constructor for class com.orsonpdf.PDFGraphicsConfiguration
Creates a new instance.
PDFGraphicsDevice - Class in com.orsonpdf
A graphics device for use in the PDFGraphicsConfiguration class.
PDFGraphicsDevice(String, GraphicsConfiguration) - Constructor for class com.orsonpdf.PDFGraphicsDevice
Creates a new instance.
PDFHints - Class in com.orsonpdf
Defines the rendering hints that can be used with the PDFGraphics2D class.
PDFHints() - Constructor for class com.orsonpdf.PDFHints
 
PDFHints.Key - Class in com.orsonpdf
A key for hints used by the PDFGraphics2D class.
PDFImage - Class in com.orsonpdf
Represents an image in a PDF document.
PDFImage(int, Image, String) - Constructor for class com.orsonpdf.PDFImage
Creates a new image object.
PDFObject - Class in com.orsonpdf
A PDF Object (also referred to as an 'Indirect Object' in the PDF specification).
PDFObject(int) - Constructor for class com.orsonpdf.PDFObject
Creates a new instance with the specified object number and the default generation number (0).
PDFObject(int, int) - Constructor for class com.orsonpdf.PDFObject
Creates a new instance.
PDFSoftMaskImage - Class in com.orsonpdf
Represents a soft mask image in a PDF document.
PDFSoftMaskImage(int, Image) - Constructor for class com.orsonpdf.PDFSoftMaskImage
Creates a new soft mask image object.
PDFUtils - Class in com.orsonpdf
Various utility functions for working with the PDF format.
PDFUtils() - Constructor for class com.orsonpdf.PDFUtils
 
popGraphicsState() - Method in class com.orsonpdf.GraphicsStream
Pops the graphics state that was previously pushed onto the stack.
pos - Variable in class com.orsonpdf.filter.Ascii85OutputStream
 
POSTSCRIPT_CALCULATOR - com.orsonpdf.FunctionType
PDF function type 4.
prevTransInv - Variable in class com.orsonpdf.GraphicsStream
 
PRODUCER - Static variable in class com.orsonpdf.PDFDocument
Producer string.
pushGraphicsState() - Method in class com.orsonpdf.GraphicsStream
Pushes the current graphics state onto a stack for later retrieval.
put(String, Object) - Method in class com.orsonpdf.Dictionary
Puts an entry in the dictionary.
put(String, Object) - Method in class com.orsonpdf.DictionaryObject
Puts an item in the dictionary.

R

RADIAL - com.orsonpdf.shading.ShadingType
Radial shading.
RadialGradientPaintKey - Class in com.orsonpdf.util
A wrapper for a RadialGradientPaint that can be used as the key for a HashMap.
RadialGradientPaintKey(RadialGradientPaint) - Constructor for class com.orsonpdf.util.RadialGradientPaintKey
Creates a new key instance.
radialGradientPaintsOnPage - Variable in class com.orsonpdf.Page
 
RadialShading - Class in com.orsonpdf.shading
A radial shading.
RadialShading(int, double[], Function) - Constructor for class com.orsonpdf.shading.RadialShading
Creates a new radial shading instance.
rect - Variable in class com.orsonpdf.PDFGraphics2D
An instance that is lazily instantiated in fillRect and then subsequently reused to avoid creating a lot of garbage.
remove(String) - Method in class com.orsonpdf.Dictionary
Removes an entry from the dictionary, returning the value that was stored previously.
remove(String) - Method in class com.orsonpdf.DictionaryObject
Removes an item from the dictionary.
removeFilters() - Method in class com.orsonpdf.Stream
Removes any filters that were previously added.
rotate(double) - Method in class com.orsonpdf.PDFGraphics2D
Applies a rotation (anti-clockwise) about (0, 0).
rotate(double, double, double) - Method in class com.orsonpdf.PDFGraphics2D
Applies a rotation (anti-clockwise) about (x, y).
roundRect - Variable in class com.orsonpdf.PDFGraphics2D
An instance that is lazily instantiated in draw/fillRoundRect and then subsequently reused to avoid creating a lot of garbage.

S

SAMPLED - com.orsonpdf.FunctionType
PDF function type 0.
scale(double, double) - Method in class com.orsonpdf.PDFGraphics2D
Applies a scale transformation.
setArc(int, int, int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Sets the attributes of the reusable Arc2D object that is used by PDFGraphics2D.drawArc(int, int, int, int, int, int) and PDFGraphics2D.fillArc(int, int, int, int, int, int) methods.
setAuthor(String) - Method in class com.orsonpdf.PDFDocument
Sets the author for the document.
setBackground(Color) - Method in class com.orsonpdf.PDFGraphics2D
Sets the background color.
setC0(float[]) - Method in class com.orsonpdf.ExponentialInterpolationFunction
Sets the function result to be used when x is 0.0.
setC1(float[]) - Method in class com.orsonpdf.ExponentialInterpolationFunction
Sets the function result to be used when x is 1.0.
setClip(int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Sets the user clipping region to the specified rectangle.
setClip(Shape) - Method in class com.orsonpdf.PDFGraphics2D
Sets the user clipping region.
setColor(Color) - Method in class com.orsonpdf.PDFGraphics2D
Sets the foreground color.
setComposite(Composite) - Method in class com.orsonpdf.PDFGraphics2D
Sets the composite (only AlphaComposite is handled).
setCoords(double[]) - Method in class com.orsonpdf.shading.AxialShading
Sets the axis coordinates array (x1, y1, x2, y2).
setCoords(double[]) - Method in class com.orsonpdf.shading.RadialShading
Sets the array containing the coordinates (x1, y1, r1, x2, y2, r2) of the starting circle and the ending circle.
setDebugMode(boolean) - Method in class com.orsonpdf.PDFDocument
Sets the debug MODE flag (this needs to be set before any call to PDFDocument.createPage(java.awt.geom.Rectangle2D)).
setDomain(double[]) - Method in class com.orsonpdf.Function
Sets the domain for the function.
setDomain(double[]) - Method in class com.orsonpdf.shading.AxialShading
Sets the domain.
setDomain(double[]) - Method in class com.orsonpdf.shading.RadialShading
Sets the domain.
setExtend(boolean[]) - Method in class com.orsonpdf.shading.AxialShading
Sets the extend array.
setExtend(boolean[]) - Method in class com.orsonpdf.shading.RadialShading
Sets the extend array.
setFont(Font) - Method in class com.orsonpdf.PDFGraphics2D
Sets the font to be used for drawing text.
setFunction(Function) - Method in class com.orsonpdf.shading.AxialShading
Sets the function for this shading.
setFunction(Function) - Method in class com.orsonpdf.shading.RadialShading
Sets the function for this shading.
setN(double) - Method in class com.orsonpdf.ExponentialInterpolationFunction
Sets the interpolation exponent.
setNonStrokeAlpha(float) - Method in class com.orsonpdf.GraphicsStateDictionary
Sets the non-stroke alpha.
setOval(int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Sets the attributes of the reusable Ellipse2D object that is used by the PDFGraphics2D.drawOval(int, int, int, int) and PDFGraphics2D.fillOval(int, int, int, int) methods.
setPaint(Paint) - Method in class com.orsonpdf.PDFGraphics2D
Sets the paint used to draw or fill shapes (or text).
setPaintMode() - Method in class com.orsonpdf.PDFGraphics2D
Does nothing in this PDFGraphics2D implementation.
setRect(int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Sets the attributes of the reusable Rectangle2D object that is used by the Graphics.drawRect(int, int, int, int) and PDFGraphics2D.fillRect(int, int, int, int) methods.
setRenderingHint(RenderingHints.Key, Object) - Method in class com.orsonpdf.PDFGraphics2D
Sets the value for a hint.
setRenderingHints(Map<?, ?>) - Method in class com.orsonpdf.PDFGraphics2D
Sets the rendering hints to the specified collection.
setRoundRect(int, int, int, int, int, int) - Method in class com.orsonpdf.PDFGraphics2D
Sets the attributes of the reusable RoundRectangle2D object that is used by the PDFGraphics2D.drawRoundRect(int, int, int, int, int, int) and PDFGraphics2D.fillRoundRect(int, int, int, int, int, int) methods.
setShading(Shading) - Method in class com.orsonpdf.Pattern.ShadingPattern
Sets the shading.
setStroke(Stroke) - Method in class com.orsonpdf.PDFGraphics2D
Sets the stroke that will be used to draw shapes.
setStrokeAlpha(float) - Method in class com.orsonpdf.GraphicsStateDictionary
Sets the stroke alpha.
setTitle(String) - Method in class com.orsonpdf.PDFDocument
Sets the title for the document.
setTransform(AffineTransform) - Method in class com.orsonpdf.GraphicsStream
Sets the transform.
setTransform(AffineTransform) - Method in class com.orsonpdf.PDFGraphics2D
Sets the transform.
setType(String) - Method in class com.orsonpdf.Dictionary
Sets the type (for example, "/Catalog").
setXORMode(Color) - Method in class com.orsonpdf.PDFGraphics2D
Does nothing in this PDFGraphics2D implementation.
shading - Variable in class com.orsonpdf.Pattern.ShadingPattern
 
Shading - Class in com.orsonpdf.shading
A PDF shading object (this class is abstract, subclasses implement particular shading types).
Shading(int, ShadingType) - Constructor for class com.orsonpdf.shading.Shading
Creates a new shading instance.
ShadingPattern(int, Shading, AffineTransform) - Constructor for class com.orsonpdf.Pattern.ShadingPattern
Creates a new shading pattern.
shadingType - Variable in class com.orsonpdf.shading.Shading
The shading type.
ShadingType - Enum in com.orsonpdf.shading
An enumeration of the PDF shading types.
ShadingType(int) - Constructor for enum com.orsonpdf.shading.ShadingType
Creates a new shading type.
shear(double, double) - Method in class com.orsonpdf.PDFGraphics2D
Applies a shear transformation.
size() - Method in class com.orsonpdf.Dictionary
Returns the number of items in the dictionary.
softMaskImageRef - Variable in class com.orsonpdf.PDFImage
 
startEncoding() - Method in class com.orsonpdf.filter.Ascii85OutputStream
 
STITCHING - com.orsonpdf.FunctionType
PDF function type 3.
StitchingFunction - Class in com.orsonpdf
A stitching function.
StitchingFunction(int, Function[], float[], float[]) - Constructor for class com.orsonpdf.StitchingFunction
Creates a new stitching function.
Stream - Class in com.orsonpdf
A Stream is a PDFObject that has a Dictionary and a byte stream.
Stream(int) - Constructor for class com.orsonpdf.Stream
Creates a new stream.
stroke - Variable in class com.orsonpdf.PDFGraphics2D
 
strokeAlpha - Variable in class com.orsonpdf.GraphicsStateDictionary
 

T

TENSOR - com.orsonpdf.shading.ShadingType
 
TextAnchor - Enum in com.orsonpdf.util
Used to indicate the position of an anchor point for a text string.
TextAnchor(String) - Constructor for enum com.orsonpdf.util.TextAnchor
Private constructor.
TextUtils - Class in com.orsonpdf.util
Text utility functions.
TextUtils() - Constructor for class com.orsonpdf.util.TextUtils
 
TIMES_BOLD - Static variable in class com.orsonpdf.PDFFont
Identifier for the standard PDF font 'Times-Bold'.
TIMES_BOLDITALIC - Static variable in class com.orsonpdf.PDFFont
Identifier for the standard PDF font 'Times-BoldItalic'.
TIMES_ITALIC - Static variable in class com.orsonpdf.PDFFont
Identifier for the standard PDF font 'Times-Italic'.
TIMES_ROMAN - Static variable in class com.orsonpdf.PDFFont
Identifier for the standard PDF font 'Times-Roman'.
title - Variable in class com.orsonpdf.PDFDocument
The document title (can be null).
toBytes(String) - Method in class com.orsonpdf.PDFDocument
A utility method to convert a string to US-ASCII byte format.
toBytes(String) - Static method in class com.orsonpdf.PDFUtils
A utility method to convert a string to US-ASCII byte format.
toDateFormat(Date) - Static method in class com.orsonpdf.PDFUtils
Returns a string in standard PDF date format representing the specified date (in the default timezone).
TOP_CENTER - com.orsonpdf.util.TextAnchor
Top/center.
TOP_LEFT - com.orsonpdf.util.TextAnchor
Top/left.
TOP_RIGHT - com.orsonpdf.util.TextAnchor
Top/right.
toPDFArray(boolean[]) - Static method in class com.orsonpdf.PDFUtils
A utility method to convert a boolean[] to a PDF array string.
toPDFArray(double[]) - Static method in class com.orsonpdf.PDFUtils
A utility method to convert a double[] to a PDF array string.
toPDFArray(float[]) - Static method in class com.orsonpdf.PDFUtils
A utility method to convert a float[] to a PDF array string.
toPDFBytes() - Method in class com.orsonpdf.Dictionary
Returns a byte array containing the ASCII encoding of the dictionary.
toPDFBytes() - Method in class com.orsonpdf.PDFObject
Returns the PDF bytes representing this object.
toPDFDateFormat(Calendar) - Static method in class com.orsonpdf.PDFUtils
Returns a string in standard PDF date format representing the date contained by the specified calendar.
toPDFString() - Method in class com.orsonpdf.Dictionary
Returns a string containing the PDF text describing the dictionary.
toString() - Method in class com.orsonpdf.FontKey
Returns a string representation of this instance, primarily for debugging purposes.
toString() - Method in enum com.orsonpdf.util.TextAnchor
Returns a string representing the object.
transform - Variable in class com.orsonpdf.PDFGraphics2D
 
transform(AffineTransform) - Method in class com.orsonpdf.PDFGraphics2D
Applies this transform to the existing transform by concatenating it.
transformDP(double) - Method in class com.orsonpdf.GraphicsStream
 
transformFormat - Variable in class com.orsonpdf.GraphicsStream
The decimal formatter for transform matrices.
transformToPDF(AffineTransform) - Static method in class com.orsonpdf.PDFUtils
Returns a Java2D AffineTransform in PDF matrix format.
translate(double, double) - Method in class com.orsonpdf.PDFGraphics2D
Applies the translation (tx, ty).
translate(int, int) - Method in class com.orsonpdf.PDFGraphics2D
Applies the translation (tx, ty).
tuple - Variable in class com.orsonpdf.filter.Ascii85OutputStream
 
type - Variable in class com.orsonpdf.Dictionary
The type entry.

U

useSpaceCompression - Variable in class com.orsonpdf.filter.Ascii85OutputStream
 

V

VALUE_DRAW_STRING_TYPE_STANDARD - Static variable in class com.orsonpdf.PDFHints
Hint value for KEY_DRAW_STRING_TYPE to specify that strings should be written to the output using standard PDF text primitives.
VALUE_DRAW_STRING_TYPE_VECTOR - Static variable in class com.orsonpdf.PDFHints
Hint value for KEY_DRAW_STRING_TYPE to say that strings should be written to the output using vector graphics primitives.
valueOf(String) - Static method in enum com.orsonpdf.filter.FilterType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.orsonpdf.FunctionType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.orsonpdf.shading.ShadingType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.orsonpdf.util.TextAnchor
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.orsonpdf.filter.FilterType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.orsonpdf.FunctionType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.orsonpdf.shading.ShadingType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.orsonpdf.util.TextAnchor
Returns an array containing the constants of this enum type, in the order they are declared.

W

width - Variable in class com.orsonpdf.filter.Ascii85OutputStream
 
width - Variable in class com.orsonpdf.PDFGraphics2D
 
width - Variable in class com.orsonpdf.PDFGraphicsConfiguration
 
width - Variable in class com.orsonpdf.PDFImage
The width.
width - Variable in class com.orsonpdf.PDFSoftMaskImage
The width.
write(int) - Method in class com.orsonpdf.filter.Ascii85OutputStream
Writes a single byte to the stream.
writeToFile(File) - Method in class com.orsonpdf.PDFDocument
Writes the PDF document to a file.
writeUnencoded(byte[]) - Method in class com.orsonpdf.filter.Ascii85OutputStream
Writes bytes to the underlying output stream, unencoded.
writeUnencoded(byte[], int, int) - Method in class com.orsonpdf.filter.Ascii85OutputStream
Writes bytes to the underlying output stream, unencoded.
writeUnencoded(int) - Method in class com.orsonpdf.filter.Ascii85OutputStream
Writes a single byte to the underlying output stream, unencoded.

X

xObjects - Variable in class com.orsonpdf.Page
 
A B C D E F G H I J K L M N O P R S T U V W X 
All Classes All Packages