Package | Description |
---|---|
org.apache.pdfbox.pdmodel.graphics |
The PDModel graphics package deals with graphics states, operations, and parameters within the PDF document.
|
org.apache.pdfbox.pdmodel.graphics.pattern |
This package deals with patterns which are used instead of colors.
|
org.apache.pdfbox.pdmodel.graphics.shading |
This package deals with shadings which are used for filling instead of a color.
|
org.apache.pdfbox.pdmodel.graphics.xobject |
This package deals with images that are stored in a PDF document.
|
org.apache.pdfbox.pdmodel.interactive.annotation |
The annotation package contains classes that work with PDF annotation elements.
|
org.apache.pdfbox.util |
This package contains utility classes that are used by the PDFBox project.
|
Modifier and Type | Method | Description |
---|---|---|
Matrix |
PDGraphicsState.getCurrentTransformationMatrix() |
Get the value of the CTM.
|
Modifier and Type | Method | Description |
---|---|---|
void |
PDGraphicsState.setCurrentTransformationMatrix(Matrix value) |
Set the value of the CTM.
|
Modifier and Type | Method | Description |
---|---|---|
Matrix |
PDShadingPatternResources.getMatrix() |
This will get the optional Matrix of a Pattern.
|
Matrix |
PDTilingPatternResources.getMatrix() |
This will get the optional Matrix of a Pattern.
|
Modifier and Type | Method | Description |
---|---|---|
Matrix |
PDShadingType1.getMatrix() |
This will get the optional Matrix of a function based shading.
|
Constructor | Description |
---|---|
AxialShadingContext(PDShadingType2 shading,
java.awt.image.ColorModel colorModel,
java.awt.geom.AffineTransform xform,
Matrix ctm,
int pageHeight,
java.awt.Rectangle dBounds) |
Constructor creates an instance to be used for fill operations.
|
AxialShadingPaint(PDShadingType2 shadingType2,
Matrix ctm,
int pageHeight) |
Constructor.
|
RadialShadingContext(PDShadingType3 shading,
java.awt.image.ColorModel colorModel,
java.awt.geom.AffineTransform xform,
Matrix ctm,
int pageHeight,
java.awt.Rectangle dBounds) |
Constructor creates an instance to be used for fill operations.
|
RadialShadingPaint(PDShadingType3 shading,
Matrix ctm,
int pageHeight) |
Constructor.
|
ShadingContext(PDShadingResources shading,
java.awt.image.ColorModel cm,
java.awt.geom.AffineTransform xform,
Matrix ctm,
int pageHeight,
java.awt.Rectangle dBounds) |
|
Type1ShadingPaint(PDShadingType1 shading,
Matrix ctm,
int pageHeight) |
Constructor.
|
Type4ShadingPaint(PDShadingType4 shading,
Matrix ctm,
int pageHeight) |
Constructor.
|
Type5ShadingPaint(PDShadingType5 shading,
Matrix ctm,
int pageHeight) |
Constructor.
|
Type6ShadingPaint(PDShadingType6 shading,
Matrix ctm,
int pageHeight) |
Constructor.
|
Type7ShadingPaint(PDShadingType7 shading,
Matrix ctm,
int pageHeight) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
Matrix |
PDXObjectForm.getMatrix() |
This will get the optional Matrix of an XObjectForm.
|
Modifier and Type | Method | Description |
---|---|---|
Matrix |
PDAppearanceStream.getMatrix() |
Gets the optional matrix for this appearance.
|
Modifier and Type | Method | Description |
---|---|---|
Matrix |
Matrix.copy() |
This will copy the text matrix data.
|
Matrix |
Matrix.extractScaling() |
Create a new matrix with just the scaling operators.
|
Matrix |
Matrix.extractTranslating() |
Create a new matrix with just the translating operators.
|
static Matrix |
Matrix.getScaleInstance(float x,
float y) |
Convenience method to create a scaled instance.
|
Matrix |
PDFStreamEngine.getTextLineMatrix() |
|
Matrix |
PDFStreamEngine.getTextMatrix() |
|
Matrix |
TextPosition.getTextPos() |
Return the Matrix textPos stored in this object.
|
static Matrix |
Matrix.getTranslatingInstance(float x,
float y) |
Convenience method to create a translating instance.
|
Matrix |
Matrix.multiply(Matrix b) |
This will take the current matrix and multipy it with a matrix that is passed in.
|
Matrix |
Matrix.multiply(Matrix other,
Matrix result) |
This method multiplies this Matrix with the specified other Matrix, storing the product in the specified
result Matrix.
|
Modifier and Type | Method | Description |
---|---|---|
Matrix |
Matrix.multiply(Matrix b) |
This will take the current matrix and multipy it with a matrix that is passed in.
|
Matrix |
Matrix.multiply(Matrix other,
Matrix result) |
This method multiplies this Matrix with the specified other Matrix, storing the product in the specified
result Matrix.
|
void |
PDFStreamEngine.setTextLineMatrix(Matrix value) |
|
void |
PDFStreamEngine.setTextMatrix(Matrix value) |
Constructor | Description |
---|---|
TextPosition(int pageRotation,
float pageWidthValue,
float pageHeightValue,
Matrix textPositionSt,
float endXValue,
float endYValue,
float maxFontH,
float individualWidth,
float spaceWidth,
java.lang.String string,
int[] codePoints,
PDFont currentFont,
float fontSizeValue,
int fontSizeInPt) |
Constructor.
|
TextPosition(int pageRotation,
float pageWidthValue,
float pageHeightValue,
Matrix textPositionSt,
float endXValue,
float endYValue,
float maxFontH,
float individualWidth,
float spaceWidth,
java.lang.String string,
PDFont currentFont,
float fontSizeValue,
int fontSizeInPt) |
|
TextPosition(int pageRotation,
float pageWidthValue,
float pageHeightValue,
Matrix textPositionSt,
Matrix textPositionEnd,
float maxFontH,
float individualWidth,
float spaceWidth,
java.lang.String string,
PDFont currentFont,
float fontSizeValue,
int fontSizeInPt) |
|
TextPosition(PDPage page,
Matrix textPositionSt,
Matrix textPositionEnd,
float maxFontH,
float[] individualWidths,
float spaceWidth,
java.lang.String string,
PDFont currentFont,
float fontSizeValue,
int fontSizeInPt,
float ws) |
Constructor.
|