Uses of Class
org.apache.pdfbox.util.Matrix
-
Packages that use Matrix Package Description org.apache.pdfbox.contentstream This package contains provides classes for working with content streams.org.apache.pdfbox.pdmodel The PDModel package represents a high level API for creating and manipulating PDF documents.org.apache.pdfbox.pdmodel.common High level PD classes that are used throughout several packages are placed in the PDModel common package.org.apache.pdfbox.pdmodel.font Classes to deal with font functionality in a PDF Document.org.apache.pdfbox.pdmodel.graphics.color This package deals with colors that are stored in a PDF document.org.apache.pdfbox.pdmodel.graphics.form This package deals with Form XObjects that are stored in a 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.state This package deals with graphics states within the PDF document.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.text org.apache.pdfbox.tools org.apache.pdfbox.util This package contains utility classes that are used by the PDFBox project. -
-
Uses of Matrix in org.apache.pdfbox.contentstream
Fields in org.apache.pdfbox.contentstream declared as Matrix Modifier and Type Field Description private Matrix
PDFStreamEngine. initialMatrix
private Matrix
PDFStreamEngine. textLineMatrix
private Matrix
PDFStreamEngine. textMatrix
Methods in org.apache.pdfbox.contentstream that return Matrix Modifier and Type Method Description Matrix
PDFStreamEngine. getInitialMatrix()
Gets the stream's initial matrix.Matrix
PDContentStream. getMatrix()
Returns the matrix which transforms from the stream's space to user space.Matrix
PDFStreamEngine. getTextLineMatrix()
Matrix
PDFStreamEngine. getTextMatrix()
Methods in org.apache.pdfbox.contentstream with parameters of type Matrix Modifier and Type Method Description protected void
PDFStreamEngine. processTilingPattern(PDTilingPattern tilingPattern, PDColor color, PDColorSpace colorSpace, Matrix patternMatrix)
Process the given tiling pattern.protected void
PDFStreamEngine. processType3Stream(PDType3CharProc charProc, Matrix textRenderingMatrix)
Processes a Type 3 character stream.void
PDFStreamEngine. setTextLineMatrix(Matrix value)
void
PDFStreamEngine. setTextMatrix(Matrix value)
protected void
PDFStreamEngine. showFontGlyph(Matrix textRenderingMatrix, PDFont font, int code, java.lang.String unicode, Vector displacement)
Deprecated.protected void
PDFStreamEngine. showFontGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement)
Called when a glyph is to be processed.protected void
PDFStreamEngine. showGlyph(Matrix textRenderingMatrix, PDFont font, int code, java.lang.String unicode, Vector displacement)
Deprecated.protected void
PDFStreamEngine. showGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement)
Called when a glyph is to be processed.protected void
PDFStreamEngine. showType3Glyph(Matrix textRenderingMatrix, PDType3Font font, int code, java.lang.String unicode, Vector displacement)
Deprecated.protected void
PDFStreamEngine. showType3Glyph(Matrix textRenderingMatrix, PDType3Font font, int code, Vector displacement)
Called when a glyph is to be processed. -
Uses of Matrix in org.apache.pdfbox.pdmodel
Methods in org.apache.pdfbox.pdmodel that return Matrix Modifier and Type Method Description Matrix
PDPage. getMatrix()
Methods in org.apache.pdfbox.pdmodel with parameters of type Matrix Modifier and Type Method Description void
PDAbstractContentStream. drawImage(PDImageXObject image, Matrix matrix)
Draw an image at the origin with the given transformation matrix.void
PDPageContentStream. drawImage(PDImageXObject image, Matrix matrix)
Draw an image at the origin with the given transformation matrix.void
PDAbstractContentStream. setTextMatrix(Matrix matrix)
The Tm operator.void
PDPageContentStream. setTextMatrix(Matrix matrix)
The Tm operator.void
PDAbstractContentStream. transform(Matrix matrix)
The cm operator.void
PDPageContentStream. transform(Matrix matrix)
The cm operator. -
Uses of Matrix in org.apache.pdfbox.pdmodel.common
Methods in org.apache.pdfbox.pdmodel.common with parameters of type Matrix Modifier and Type Method Description java.awt.geom.GeneralPath
PDRectangle. transform(Matrix matrix)
Returns a path which represents this rectangle having been transformed by the given matrix. -
Uses of Matrix in org.apache.pdfbox.pdmodel.font
Fields in org.apache.pdfbox.pdmodel.font declared as Matrix Modifier and Type Field Description protected static Matrix
PDFont. DEFAULT_FONT_MATRIX
private Matrix
PDCIDFontType0. fontMatrix
private Matrix
PDCIDFontType2. fontMatrix
private Matrix
PDType1CFont. fontMatrix
private Matrix
PDType1Font. fontMatrix
private Matrix
PDType3Font. fontMatrix
Methods in org.apache.pdfbox.pdmodel.font that return Matrix Modifier and Type Method Description Matrix
PDCIDFontType0. getFontMatrix()
Matrix
PDCIDFontType2. getFontMatrix()
Matrix
PDFont. getFontMatrix()
Matrix
PDFontLike. getFontMatrix()
Returns the font matrix, which represents the transformation from glyph space to text space.Matrix
PDType0Font. getFontMatrix()
Matrix
PDType1CFont. getFontMatrix()
Matrix
PDType1Font. getFontMatrix()
Matrix
PDType3Font. getFontMatrix()
Matrix
PDType3CharProc. getMatrix()
-
Uses of Matrix in org.apache.pdfbox.pdmodel.graphics.color
Methods in org.apache.pdfbox.pdmodel.graphics.color with parameters of type Matrix Modifier and Type Method Description void
PDCalRGB. setMatrix(Matrix matrix)
Sets the linear interpretation matrix. -
Uses of Matrix in org.apache.pdfbox.pdmodel.graphics.form
Methods in org.apache.pdfbox.pdmodel.graphics.form that return Matrix Modifier and Type Method Description Matrix
PDFormXObject. getMatrix()
This will get the optional matrix of an XObjectForm. -
Uses of Matrix in org.apache.pdfbox.pdmodel.graphics.pattern
Methods in org.apache.pdfbox.pdmodel.graphics.pattern that return Matrix Modifier and Type Method Description Matrix
PDAbstractPattern. getMatrix()
Returns the pattern matrix, or the identity matrix is none is available. -
Uses of Matrix in org.apache.pdfbox.pdmodel.graphics.shading
Fields in org.apache.pdfbox.pdmodel.graphics.shading declared as Matrix Modifier and Type Field Description protected Matrix
ShadingPaint. matrix
Methods in org.apache.pdfbox.pdmodel.graphics.shading that return Matrix Modifier and Type Method Description Matrix
PDShadingType1. getMatrix()
This will get the optional Matrix of a function based shading.Matrix
ShadingPaint. getMatrix()
Methods in org.apache.pdfbox.pdmodel.graphics.shading with parameters of type Matrix Modifier and Type Method Description (package private) java.util.List<Patch>
PatchMeshesShadingContext. collectPatches(PDShadingType6 shadingType, java.awt.geom.AffineTransform xform, Matrix matrix, int controlPoints)
Create a patch list from a data stream, the returned list contains all the patches contained in the data stream.private java.util.List<ShadedTriangle>
Type4ShadingContext. collectTriangles(PDShadingType4 freeTriangleShadingType, java.awt.geom.AffineTransform xform, Matrix matrix)
private java.util.List<ShadedTriangle>
Type5ShadingContext. collectTriangles(PDShadingType5 latticeTriangleShadingType, java.awt.geom.AffineTransform xform, Matrix matrix)
protected Patch
PatchMeshesShadingContext. readPatch(javax.imageio.stream.ImageInputStream input, boolean isFree, java.awt.geom.Point2D[] implicitEdge, float[][] implicitCornerColor, long maxSrcCoord, long maxSrcColor, PDRange rangeX, PDRange rangeY, PDRange[] colRange, Matrix matrix, java.awt.geom.AffineTransform xform, int controlPoints)
Read a single patch from a data stream, a patch contains information of its coordinates and color parameters.protected Vertex
GouraudShadingContext. readVertex(javax.imageio.stream.ImageInputStream input, long maxSrcCoord, long maxSrcColor, PDRange rangeX, PDRange rangeY, PDRange[] colRangeTab, Matrix matrix, java.awt.geom.AffineTransform xform)
Read a vertex from the bit input stream performs interpolations.abstract java.awt.Paint
PDShading. toPaint(Matrix matrix)
Returns an AWT paint which corresponds to this shadingjava.awt.Paint
PDShadingType1. toPaint(Matrix matrix)
java.awt.Paint
PDShadingType2. toPaint(Matrix matrix)
java.awt.Paint
PDShadingType3. toPaint(Matrix matrix)
java.awt.Paint
PDShadingType4. toPaint(Matrix matrix)
java.awt.Paint
PDShadingType5. toPaint(Matrix matrix)
java.awt.Paint
PDShadingType6. toPaint(Matrix matrix)
java.awt.Paint
PDShadingType7. toPaint(Matrix matrix)
Constructors in org.apache.pdfbox.pdmodel.graphics.shading with parameters of type Matrix Constructor Description AxialShadingContext(PDShadingType2 shading, java.awt.image.ColorModel colorModel, java.awt.geom.AffineTransform xform, Matrix matrix, java.awt.Rectangle deviceBounds)
Constructor creates an instance to be used for fill operations.AxialShadingPaint(PDShadingType2 shadingType2, Matrix matrix)
Constructor.GouraudShadingContext(PDShading shading, java.awt.image.ColorModel colorModel, java.awt.geom.AffineTransform xform, Matrix matrix)
Constructor creates an instance to be used for fill operations.PatchMeshesShadingContext(PDShadingType6 shading, java.awt.image.ColorModel colorModel, java.awt.geom.AffineTransform xform, Matrix matrix, java.awt.Rectangle deviceBounds, int controlPoints)
Constructor creates an instance to be used for fill operations.RadialShadingContext(PDShadingType3 shading, java.awt.image.ColorModel colorModel, java.awt.geom.AffineTransform xform, Matrix matrix, java.awt.Rectangle deviceBounds)
Constructor creates an instance to be used for fill operations.RadialShadingPaint(PDShadingType3 shading, Matrix matrix)
Constructor.ShadingContext(PDShading shading, java.awt.image.ColorModel cm, java.awt.geom.AffineTransform xform, Matrix matrix)
Constructor.ShadingPaint(T shading, Matrix matrix)
TriangleBasedShadingContext(PDShading shading, java.awt.image.ColorModel cm, java.awt.geom.AffineTransform xform, Matrix matrix)
Constructor.Type1ShadingContext(PDShadingType1 shading, java.awt.image.ColorModel colorModel, java.awt.geom.AffineTransform xform, Matrix matrix)
Constructor creates an instance to be used for fill operations.Type1ShadingPaint(PDShadingType1 shading, Matrix matrix)
Constructor.Type4ShadingContext(PDShadingType4 shading, java.awt.image.ColorModel cm, java.awt.geom.AffineTransform xform, Matrix matrix, java.awt.Rectangle deviceBounds)
Constructor creates an instance to be used for fill operations.Type4ShadingPaint(PDShadingType4 shading, Matrix matrix)
Constructor.Type5ShadingContext(PDShadingType5 shading, java.awt.image.ColorModel cm, java.awt.geom.AffineTransform xform, Matrix matrix, java.awt.Rectangle deviceBounds)
Constructor creates an instance to be used for fill operations.Type5ShadingPaint(PDShadingType5 shading, Matrix matrix)
Constructor.Type6ShadingContext(PDShadingType6 shading, java.awt.image.ColorModel colorModel, java.awt.geom.AffineTransform xform, Matrix matrix, java.awt.Rectangle deviceBounds)
Constructor creates an instance to be used for fill operations.Type6ShadingPaint(PDShadingType6 shading, Matrix matrix)
Constructor.Type7ShadingContext(PDShadingType7 shading, java.awt.image.ColorModel colorModel, java.awt.geom.AffineTransform xform, Matrix matrix, java.awt.Rectangle deviceBounds)
Constructor creates an instance to be used for fill operations.Type7ShadingPaint(PDShadingType7 shading, Matrix matrix)
Constructor. -
Uses of Matrix in org.apache.pdfbox.pdmodel.graphics.state
Fields in org.apache.pdfbox.pdmodel.graphics.state declared as Matrix Modifier and Type Field Description private Matrix
PDSoftMask. ctm
To allow a soft mask to know the CTM at the time of activation of the ExtGState.private Matrix
PDGraphicsState. currentTransformationMatrix
Methods in org.apache.pdfbox.pdmodel.graphics.state that return Matrix Modifier and Type Method Description Matrix
PDGraphicsState. getCurrentTransformationMatrix()
Get the value of the CTM.Matrix
PDSoftMask. getInitialTransformationMatrix()
Returns the CTM at the time the ExtGState was activated.Methods in org.apache.pdfbox.pdmodel.graphics.state with parameters of type Matrix Modifier and Type Method Description void
PDGraphicsState. setCurrentTransformationMatrix(Matrix value)
Set the value of the CTM.(package private) void
PDSoftMask. setInitialTransformationMatrix(Matrix ctm)
Set the CTM that is valid at the time the ExtGState was activated. -
Uses of Matrix in org.apache.pdfbox.pdmodel.interactive.form
Methods in org.apache.pdfbox.pdmodel.interactive.form that return Matrix Modifier and Type Method Description private Matrix
PDAcroForm. resolveTransformationMatrix(PDAnnotation annotation, PDAppearanceStream appearanceStream)
-
Uses of Matrix in org.apache.pdfbox.rendering
Fields in org.apache.pdfbox.rendering declared as Matrix Modifier and Type Field Description private Matrix
TilingPaintFactory.TilingPaintParameter. matrix
private Matrix
TilingPaint. patternMatrix
Methods in org.apache.pdfbox.rendering with parameters of type Matrix Modifier and Type Method Description (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.protected void
PageDrawer. showFontGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement)
protected void
PageDrawer. showType3Glyph(Matrix textRenderingMatrix, PDType3Font font, int code, Vector displacement)
Constructors in org.apache.pdfbox.rendering with parameters of type Matrix Constructor Description 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. -
Uses of Matrix in org.apache.pdfbox.text
Fields in org.apache.pdfbox.text declared as Matrix Modifier and Type Field Description private Matrix
TextPosition. textMatrix
private Matrix
LegacyPDFStreamEngine. translateMatrix
Methods in org.apache.pdfbox.text that return Matrix Modifier and Type Method Description Matrix
TextPosition. getTextMatrix()
The matrix containing the starting text position and scaling.Methods in org.apache.pdfbox.text with parameters of type Matrix Modifier and Type Method Description protected void
LegacyPDFStreamEngine. showGlyph(Matrix textRenderingMatrix, PDFont font, int code, java.lang.String unicode, Vector displacement)
Called when a glyph is to be processed.Constructors in org.apache.pdfbox.text with parameters of type Matrix Constructor Description TextPosition(int pageRotation, float pageWidth, float pageHeight, Matrix textMatrix, float endX, float endY, float maxHeight, float individualWidth, float spaceWidth, java.lang.String unicode, int[] charCodes, PDFont font, float fontSize, int fontSizeInPt)
Constructor. -
Uses of Matrix in org.apache.pdfbox.tools
Methods in org.apache.pdfbox.tools with parameters of type Matrix Modifier and Type Method Description protected void
ExtractImages.ImageGraphicsEngine. showGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement)
-
Uses of Matrix in org.apache.pdfbox.util
Methods in org.apache.pdfbox.util that return Matrix Modifier and Type Method Description Matrix
Matrix. clone()
Clones this object.static Matrix
Matrix. concatenate(Matrix a, Matrix b)
Produces a copy of the first matrix, with the second matrix concatenated.static Matrix
Matrix. createMatrix(COSBase base)
Convenience method to be used when creating a matrix from unverified data.Matrix
Matrix. extractScaling()
Deprecated.This method is due to be removed, please contact us if you make use of it.Matrix
Matrix. extractTranslating()
Deprecated.This method is due to be removed, please contact us if you make use of it.static Matrix
Matrix. getRotateInstance(double theta, float tx, float ty)
Convenience method to create a rotated instance.static Matrix
Matrix. getScaleInstance(float x, float y)
Convenience method to create a scaled instance.static Matrix
Matrix. getTranslateInstance(float x, float y)
Convenience method to create a translating instance.static Matrix
Matrix. getTranslatingInstance(float x, float y)
Deprecated.UsegetTranslateInstance(float, float)
instead.Matrix
Matrix. multiply(Matrix other)
This method multiplies this Matrix with the specified other Matrix, storing the product in a new instance.Matrix
Matrix. multiply(Matrix other, Matrix result)
Deprecated.Methods in org.apache.pdfbox.util with parameters of type Matrix Modifier and Type Method Description void
Matrix. concatenate(Matrix matrix)
Concatenates (premultiplies) the given matrix to this matrix.static Matrix
Matrix. concatenate(Matrix a, Matrix b)
Produces a copy of the first matrix, with the second matrix concatenated.Matrix
Matrix. multiply(Matrix other)
This method multiplies this Matrix with the specified other Matrix, storing the product in a new instance.Matrix
Matrix. multiply(Matrix other, Matrix result)
Deprecated.
-