Package | Description |
---|---|
org.apache.pdfbox.contentstream |
This package contains provides classes for working with content streams.
|
org.apache.pdfbox.contentstream.operator.color | |
org.apache.pdfbox.pdmodel |
The PDModel package represents a high level API for creating and manipulating PDF documents.
|
org.apache.pdfbox.pdmodel.documentinterchange.prepress |
This package contains classes for prepress support in PDFBox.
|
org.apache.pdfbox.pdmodel.graphics.color |
This package deals with colors that are stored in a PDF document.
|
org.apache.pdfbox.pdmodel.graphics.state |
This package deals with graphics states within the PDF document.
|
org.apache.pdfbox.pdmodel.interactive.annotation |
The annotation package contains classes that work with PDF annotation elements.
|
org.apache.pdfbox.pdmodel.interactive.annotation.handlers | |
org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline |
The outline package allows for a PDF outline(bookmarks) to be created.
|
org.apache.pdfbox.pdmodel.interactive.form |
The interactive package contains classes for handling Interactive Forms, also known as "AcroForms".
|
org.apache.pdfbox.rendering | |
org.apache.pdfbox.tools |
Modifier and Type | Method and Description |
---|---|
protected void |
PDFStreamEngine.processTilingPattern(PDTilingPattern tilingPattern,
PDColor color,
PDColorSpace colorSpace)
Process the given tiling pattern.
|
protected void |
PDFStreamEngine.processTilingPattern(PDTilingPattern tilingPattern,
PDColor color,
PDColorSpace colorSpace,
Matrix patternMatrix)
Process the given tiling pattern.
|
Modifier and Type | Method and Description |
---|---|
protected abstract PDColor |
SetColor.getColor()
Returns either the stroking or non-stroking color value.
|
protected PDColor |
SetStrokingColor.getColor()
Returns the stroking color.
|
protected PDColor |
SetNonStrokingColor.getColor()
Returns the non-stroking color.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
SetColor.setColor(PDColor color)
Sets either the stroking or non-stroking color value.
|
protected void |
SetStrokingColor.setColor(PDColor color)
Sets the stroking color.
|
protected void |
SetNonStrokingColor.setColor(PDColor color)
Sets the non-stroking color.
|
Modifier and Type | Method and Description |
---|---|
void |
PDAbstractContentStream.setNonStrokingColor(PDColor color)
Sets the non-stroking color and, if necessary, the non-stroking color space.
|
void |
PDPageContentStream.setNonStrokingColor(PDColor color)
Sets the non-stroking color and, if necessary, the non-stroking color space.
|
boolean |
PDAppearanceContentStream.setNonStrokingColorOnDemand(PDColor color)
Set the non stroking color.
|
void |
PDAbstractContentStream.setStrokingColor(PDColor color)
Sets the stroking color and, if necessary, the stroking color space.
|
void |
PDPageContentStream.setStrokingColor(PDColor color)
Sets the stroking color and, if necessary, the stroking color space.
|
boolean |
PDAppearanceContentStream.setStrokingColorOnDemand(PDColor color)
Set the stroking color.
|
Modifier and Type | Method and Description |
---|---|
PDColor |
PDBoxStyle.getGuidelineColor()
Get the RGB color to be used for the guidelines.
|
Modifier and Type | Method and Description |
---|---|
void |
PDBoxStyle.setGuideLineColor(PDColor color)
Set the color space instance for this box style.
|
Modifier and Type | Field and Description |
---|---|
private static PDColor |
PDPattern.EMPTY_PATTERN
A pattern which leaves no marks on the page.
|
private PDColor |
PDDeviceN.initialColor |
private PDColor |
PDDeviceGray.initialColor |
private PDColor |
PDCalRGB.initialColor |
private PDColor |
PDLab.initialColor |
private PDColor |
PDIndexed.initialColor |
private PDColor |
PDDeviceRGB.initialColor |
private PDColor |
PDDeviceCMYK.initialColor |
private PDColor |
PDCalGray.initialColor |
private PDColor |
PDICCBased.initialColor |
private PDColor |
PDSeparation.initialColor |
Modifier and Type | Method and Description |
---|---|
PDColor |
PDDeviceN.getInitialColor() |
PDColor |
PDDeviceGray.getInitialColor() |
PDColor |
PDCalRGB.getInitialColor() |
PDColor |
PDPattern.getInitialColor() |
PDColor |
PDLab.getInitialColor() |
PDColor |
PDIndexed.getInitialColor() |
PDColor |
PDJPXColorSpace.getInitialColor() |
PDColor |
PDDeviceRGB.getInitialColor() |
PDColor |
PDDeviceCMYK.getInitialColor() |
PDColor |
PDCalGray.getInitialColor() |
PDColor |
PDICCBased.getInitialColor() |
abstract PDColor |
PDColorSpace.getInitialColor()
Returns the initial color value for this color space.
|
PDColor |
PDSeparation.getInitialColor() |
Modifier and Type | Method and Description |
---|---|
PDAbstractPattern |
PDPattern.getPattern(PDColor color)
Returns the pattern for the given color.
|
Modifier and Type | Field and Description |
---|---|
private PDColor |
PDGraphicsState.nonStrokingColor |
private PDColor |
PDGraphicsState.strokingColor |
Modifier and Type | Method and Description |
---|---|
PDColor |
PDGraphicsState.getNonStrokingColor()
Returns the non-stroking color.
|
PDColor |
PDGraphicsState.getStrokingColor()
Returns the stroking color.
|
Modifier and Type | Method and Description |
---|---|
void |
PDGraphicsState.setNonStrokingColor(PDColor color)
Sets the non-stroking color.
|
void |
PDGraphicsState.setStrokingColor(PDColor color)
Sets the stroking color.
|
Modifier and Type | Method and Description |
---|---|
PDColor |
PDAppearanceCharacteristicsDictionary.getBackground()
This will retrieve the background color.
|
PDColor |
PDAppearanceCharacteristicsDictionary.getBorderColour()
This will retrieve the border color.
|
PDColor |
PDAnnotation.getColor()
This will retrieve the color used in drawing various elements.
|
protected PDColor |
PDAnnotation.getColor(COSName itemName) |
private PDColor |
PDAppearanceCharacteristicsDictionary.getColor(COSName itemName) |
PDColor |
PDAnnotationSquareCircle.getInteriorColor()
This will retrieve the interior color of the drawn area color is in DeviceRGB color space.
|
PDColor |
PDAnnotationMarkup.getInteriorColor()
This will retrieve the interior color.
|
PDColor |
PDAnnotationLine.getInteriorColor()
This will retrieve the interior color of the line endings defined in the LE entry.
|
Modifier and Type | Method and Description |
---|---|
void |
PDAppearanceCharacteristicsDictionary.setBackground(PDColor c)
This will set the background color.
|
void |
PDAppearanceCharacteristicsDictionary.setBorderColour(PDColor c)
This will set the border color.
|
void |
PDAnnotation.setColor(PDColor c)
This will set the color used in drawing various elements.
|
void |
PDAnnotationSquareCircle.setInteriorColor(PDColor ic)
This will set interior color of the drawn area color is in DeviceRGB colo rspace.
|
void |
PDAnnotationMarkup.setInteriorColor(PDColor ic)
This will set interior color.
|
void |
PDAnnotationLine.setInteriorColor(PDColor ic)
This will set interior color of the line endings defined in the LE entry.
|
Modifier and Type | Method and Description |
---|---|
private PDColor |
PDFreeTextAppearanceHandler.extractNonStrokingColor(PDAnnotationMarkup annotation) |
(package private) PDColor |
PDAbstractAppearanceHandler.getColor() |
Modifier and Type | Method and Description |
---|---|
PDColor |
PDOutlineItem.getTextColor()
Get the RGB text color of this node.
|
Modifier and Type | Method and Description |
---|---|
void |
PDOutlineItem.setTextColor(PDColor textColor)
Set the RGB text color for this node.
|
Modifier and Type | Field and Description |
---|---|
private PDColor |
PDDefaultAppearanceString.fontColor |
Modifier and Type | Method and Description |
---|---|
(package private) PDColor |
PDDefaultAppearanceString.getFontColor()
Returns the font color
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
PDDefaultAppearanceString.setFontColor(PDColor fontColor)
Set the font color.
|
Modifier and Type | Field and Description |
---|---|
private PDColor |
TilingPaintFactory.TilingPaintParameter.color |
Modifier and Type | Method and Description |
---|---|
(package private) java.awt.Paint |
TilingPaintFactory.create(PDTilingPattern pattern,
PDColorSpace colorSpace,
PDColor color,
java.awt.geom.AffineTransform xform) |
(package private) void |
PageDrawer.drawTilingPattern(java.awt.Graphics2D g,
PDTilingPattern pattern,
PDColorSpace colorSpace,
PDColor color,
Matrix patternMatrix)
Draws the pattern stream to the requested context.
|
private java.awt.image.BufferedImage |
TilingPaint.getImage(PageDrawer drawer,
PDTilingPattern pattern,
PDColorSpace colorSpace,
PDColor color,
java.awt.geom.AffineTransform xform,
java.awt.geom.Rectangle2D anchorRect)
Returns the pattern image in parent stream coordinates.
|
protected java.awt.Paint |
PageDrawer.getPaint(PDColor color)
Returns an AWT paint for the given PDColor.
|
private void |
PageDrawer.intersectShadingBBox(PDColor color,
java.awt.geom.Area area) |
Constructor and Description |
---|
SoftMask(java.awt.Paint paint,
java.awt.image.BufferedImage mask,
java.awt.geom.Rectangle2D bboxDevice,
PDColor backdropColor,
PDFunction transferFunction)
Creates a new soft mask paint.
|
TilingPaint(PageDrawer drawer,
PDTilingPattern pattern,
PDColorSpace colorSpace,
PDColor color,
java.awt.geom.AffineTransform xform)
Creates a new tiling Paint.
|
TilingPaintParameter(Matrix matrix,
COSDictionary patternDict,
PDColorSpace colorSpace,
PDColor color,
java.awt.geom.AffineTransform xform) |
TransparencyGroup(PDTransparencyGroup form,
boolean isSoftMask,
Matrix ctm,
PDColor backdropColor)
Creates a buffered image for a transparency group result.
|
Modifier and Type | Method and Description |
---|---|
private void |
ExtractImages.ImageGraphicsEngine.processColor(PDColor color) |