Uses of Class
org.apache.pdfbox.util.Matrix
Packages that use Matrix
Package
Description
This package contains provides classes for working with content streams.
The PDModel package represents a high level API for creating and manipulating PDF documents.
High level PD classes that are used throughout several packages are placed in the PDModel common package.
Classes to deal with font functionality in a PDF Document.
This package deals with colors that are stored in a PDF document.
This package deals with Form XObjects that are stored in a PDF document.
This package deals with patterns which are used instead of colors.
This package deals with shadings which are used for filling instead of a color.
This package deals with graphics states within the PDF document.
The interactive package contains classes for handling Interactive Forms, also known as "AcroForms".
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 MatrixModifier and TypeFieldDescriptionprivate MatrixPDFStreamEngine.initialMatrixprivate MatrixPDFStreamEngine.textLineMatrixprivate MatrixPDFStreamEngine.textMatrixMethods in org.apache.pdfbox.contentstream that return MatrixModifier and TypeMethodDescriptionPDFStreamEngine.getInitialMatrix()Gets the stream's initial matrix.PDContentStream.getMatrix()Returns the matrix which transforms from the stream's space to user space.PDFStreamEngine.getTextLineMatrix()PDFStreamEngine.getTextMatrix()Methods in org.apache.pdfbox.contentstream with parameters of type MatrixModifier and TypeMethodDescriptionprotected final voidPDFStreamEngine.processTilingPattern(PDTilingPattern tilingPattern, PDColor color, PDColorSpace colorSpace, Matrix patternMatrix) Process the given tiling pattern.protected voidPDFStreamEngine.processType3Stream(PDType3CharProc charProc, Matrix textRenderingMatrix) Processes a Type 3 character stream.voidPDFStreamEngine.setTextLineMatrix(Matrix value) voidPDFStreamEngine.setTextMatrix(Matrix value) protected voidPDFStreamEngine.showFontGlyph(Matrix textRenderingMatrix, PDFont font, int code, String unicode, Vector displacement) Deprecated.protected voidPDFStreamEngine.showFontGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement) Called when a glyph is to be processed.protected voidPDFStreamEngine.showGlyph(Matrix textRenderingMatrix, PDFont font, int code, String unicode, Vector displacement) Deprecated.protected voidCalled when a glyph is to be processed.protected voidPDFStreamEngine.showType3Glyph(Matrix textRenderingMatrix, PDType3Font font, int code, String unicode, Vector displacement) Deprecated.protected voidPDFStreamEngine.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 MatrixMethods in org.apache.pdfbox.pdmodel with parameters of type MatrixModifier and TypeMethodDescriptionvoidPDAbstractContentStream.drawImage(PDImageXObject image, Matrix matrix) Draw an image at the origin with the given transformation matrix.voidPDPageContentStream.drawImage(PDImageXObject image, Matrix matrix) Draw an image at the origin with the given transformation matrix.voidPDAbstractContentStream.setTextMatrix(Matrix matrix) The Tm operator.voidPDPageContentStream.setTextMatrix(Matrix matrix) The Tm operator.voidThe cm operator.voidThe cm operator. -
Uses of Matrix in org.apache.pdfbox.pdmodel.common
Methods in org.apache.pdfbox.pdmodel.common with parameters of type MatrixModifier and TypeMethodDescriptionReturns 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 MatrixModifier and TypeFieldDescriptionprotected static final MatrixPDFont.DEFAULT_FONT_MATRIXprivate MatrixPDCIDFontType0.fontMatrixprivate MatrixPDCIDFontType2.fontMatrixprivate MatrixPDType1CFont.fontMatrixprivate MatrixPDType1Font.fontMatrixprivate MatrixPDType3Font.fontMatrixMethods in org.apache.pdfbox.pdmodel.font that return MatrixModifier and TypeMethodDescriptionfinal MatrixPDCIDFontType0.getFontMatrix()PDCIDFontType2.getFontMatrix()PDFont.getFontMatrix()PDFontLike.getFontMatrix()Returns the font matrix, which represents the transformation from glyph space to text space.PDType0Font.getFontMatrix()final MatrixPDType1CFont.getFontMatrix()final MatrixPDType1Font.getFontMatrix()PDType3Font.getFontMatrix()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 -
Uses of Matrix in org.apache.pdfbox.pdmodel.graphics.form
Methods in org.apache.pdfbox.pdmodel.graphics.form that return Matrix -
Uses of Matrix in org.apache.pdfbox.pdmodel.graphics.pattern
Methods in org.apache.pdfbox.pdmodel.graphics.pattern that return Matrix -
Uses of Matrix in org.apache.pdfbox.pdmodel.graphics.shading
Fields in org.apache.pdfbox.pdmodel.graphics.shading declared as MatrixMethods in org.apache.pdfbox.pdmodel.graphics.shading that return MatrixModifier and TypeMethodDescriptionPDShadingType1.getMatrix()This will get the optional Matrix of a function based shading.ShadingPaint.getMatrix()Methods in org.apache.pdfbox.pdmodel.graphics.shading with parameters of type MatrixModifier and TypeMethodDescriptionPDMeshBasedShadingType.collectPatches(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.(package private) List<ShadedTriangle>PDShadingType4.collectTriangles(AffineTransform xform, Matrix matrix) (package private) List<ShadedTriangle>PDShadingType5.collectTriangles(AffineTransform xform, Matrix matrix) (package private) abstract List<ShadedTriangle>PDTriangleBasedShadingType.collectTriangles(AffineTransform xform, Matrix matrix) abstract Rectangle2DPDMeshBasedShadingType.getBounds(AffineTransform xform, Matrix matrix) (package private) Rectangle2DPDMeshBasedShadingType.getBounds(AffineTransform xform, Matrix matrix, int controlPoints) PDShading.getBounds(AffineTransform xform, Matrix matrix) Calculate a bounding rectangle around the areas of this shading context.PDShadingType6.getBounds(AffineTransform xform, Matrix matrix) PDShadingType7.getBounds(AffineTransform xform, Matrix matrix) PDTriangleBasedShadingType.getBounds(AffineTransform xform, Matrix matrix) protected PatchPDMeshBasedShadingType.readPatch(ImageInputStream input, boolean isFree, Point2D[] implicitEdge, float[][] implicitCornerColor, long maxSrcCoord, long maxSrcColor, PDRange rangeX, PDRange rangeY, PDRange[] colRange, Matrix matrix, AffineTransform xform, int controlPoints) Read a single patch from a data stream, a patch contains information of its coordinates and color parameters.protected VertexPDTriangleBasedShadingType.readVertex(ImageInputStream input, long maxSrcCoord, long maxSrcColor, PDRange rangeX, PDRange rangeY, PDRange[] colRangeTab, Matrix matrix, AffineTransform xform) Read a vertex from the bit input stream performs interpolations.abstract PaintReturns an AWT paint which corresponds to this shadingConstructors in org.apache.pdfbox.pdmodel.graphics.shading with parameters of type MatrixModifierConstructorDescriptionAxialShadingContext(PDShadingType2 shading, ColorModel colorModel, AffineTransform xform, Matrix matrix, Rectangle deviceBounds) Constructor creates an instance to be used for fill operations.(package private)AxialShadingPaint(PDShadingType2 shadingType2, Matrix matrix) Constructor.protectedGouraudShadingContext(PDShading shading, ColorModel colorModel, AffineTransform xform, Matrix matrix) Constructor creates an instance to be used for fill operations.protectedPatchMeshesShadingContext(PDMeshBasedShadingType shading, ColorModel colorModel, AffineTransform xform, Matrix matrix, Rectangle deviceBounds, int controlPoints) Constructor creates an instance to be used for fill operations.RadialShadingContext(PDShadingType3 shading, ColorModel colorModel, AffineTransform xform, Matrix matrix, Rectangle deviceBounds) Constructor creates an instance to be used for fill operations.(package private)RadialShadingPaint(PDShadingType3 shading, Matrix matrix) Constructor.ShadingContext(PDShading shading, ColorModel cm, AffineTransform xform, Matrix matrix) Constructor.(package private)ShadingPaint(T shading, Matrix matrix) (package private)TriangleBasedShadingContext(PDShading shading, ColorModel cm, AffineTransform xform, Matrix matrix) Constructor.(package private)Type1ShadingContext(PDShadingType1 shading, ColorModel colorModel, AffineTransform xform, Matrix matrix) Constructor creates an instance to be used for fill operations.(package private)Type1ShadingPaint(PDShadingType1 shading, Matrix matrix) Constructor.(package private)Type4ShadingContext(PDShadingType4 shading, ColorModel cm, AffineTransform xform, Matrix matrix, Rectangle deviceBounds) Constructor creates an instance to be used for fill operations.(package private)Type4ShadingPaint(PDShadingType4 shading, Matrix matrix) Constructor.(package private)Type5ShadingContext(PDShadingType5 shading, ColorModel cm, AffineTransform xform, Matrix matrix, Rectangle deviceBounds) Constructor creates an instance to be used for fill operations.(package private)Type5ShadingPaint(PDShadingType5 shading, Matrix matrix) Constructor.(package private)Type6ShadingContext(PDShadingType6 shading, ColorModel colorModel, AffineTransform xform, Matrix matrix, Rectangle deviceBounds) Constructor creates an instance to be used for fill operations.(package private)Type6ShadingPaint(PDShadingType6 shading, Matrix matrix) Constructor.(package private)Type7ShadingContext(PDShadingType7 shading, ColorModel colorModel, AffineTransform xform, Matrix matrix, Rectangle deviceBounds) Constructor creates an instance to be used for fill operations.(package private)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 MatrixModifier and TypeFieldDescriptionprivate MatrixPDSoftMask.ctmTo allow a soft mask to know the CTM at the time of activation of the ExtGState.private MatrixPDGraphicsState.currentTransformationMatrixMethods in org.apache.pdfbox.pdmodel.graphics.state that return MatrixModifier and TypeMethodDescriptionPDGraphicsState.getCurrentTransformationMatrix()Get the value of the CTM.PDSoftMask.getInitialTransformationMatrix()Returns the CTM at the time the ExtGState was activated.Methods in org.apache.pdfbox.pdmodel.graphics.state with parameters of type MatrixModifier and TypeMethodDescriptionvoidPDGraphicsState.setCurrentTransformationMatrix(Matrix value) Set the value of the CTM.(package private) voidPDSoftMask.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 MatrixModifier and TypeMethodDescriptionprivate MatrixPDAcroForm.resolveTransformationMatrix(PDAnnotation annotation, PDAppearanceStream appearanceStream) -
Uses of Matrix in org.apache.pdfbox.rendering
Fields in org.apache.pdfbox.rendering declared as MatrixModifier and TypeFieldDescriptionprivate final MatrixTilingPaintFactory.TilingPaintParameter.matrixprivate final MatrixTilingPaint.patternMatrixMethods in org.apache.pdfbox.rendering with parameters of type MatrixModifier and TypeMethodDescription(package private) voidPageDrawer.drawTilingPattern(Graphics2D g, PDTilingPattern pattern, PDColorSpace colorSpace, PDColor color, Matrix patternMatrix) Draws the pattern stream to the requested context.protected voidPageDrawer.showFontGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement) protected voidPageDrawer.showType3Glyph(Matrix textRenderingMatrix, PDType3Font font, int code, Vector displacement) Constructors in org.apache.pdfbox.rendering with parameters of type MatrixModifierConstructorDescriptionprivateTilingPaintParameter(Matrix matrix, COSDictionary patternDict, PDColorSpace colorSpace, PDColor color, AffineTransform xform) privateTransparencyGroup(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 MatrixModifier and TypeFieldDescriptionprivate final MatrixTextPosition.textMatrixprivate MatrixLegacyPDFStreamEngine.translateMatrixMethods in org.apache.pdfbox.text that return MatrixModifier and TypeMethodDescriptionTextPosition.getTextMatrix()The matrix containing the starting text position and scaling.Methods in org.apache.pdfbox.text with parameters of type MatrixModifier and TypeMethodDescriptionprotected voidLegacyPDFStreamEngine.showGlyph(Matrix textRenderingMatrix, PDFont font, int code, String unicode, Vector displacement) Called when a glyph is to be processed.Constructors in org.apache.pdfbox.text with parameters of type MatrixModifierConstructorDescriptionTextPosition(int pageRotation, float pageWidth, float pageHeight, Matrix textMatrix, float endX, float endY, float maxHeight, float individualWidth, float spaceWidth, 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 -
Uses of Matrix in org.apache.pdfbox.util
Methods in org.apache.pdfbox.util that return MatrixModifier and TypeMethodDescriptionMatrix.clone()Clones this object.static MatrixMatrix.concatenate(Matrix a, Matrix b) Produces a copy of the first matrix, with the second matrix concatenated.static MatrixMatrix.createMatrix(COSBase base) Convenience method to be used when creating a matrix from unverified data.Matrix.extractScaling()Deprecated.This method is due to be removed, please contact us if you make use of it.Matrix.extractTranslating()Deprecated.This method is due to be removed, please contact us if you make use of it.static MatrixMatrix.getRotateInstance(double theta, float tx, float ty) Convenience method to create a rotated instance.static MatrixMatrix.getScaleInstance(float x, float y) Convenience method to create a scaled instance.static MatrixMatrix.getTranslateInstance(float x, float y) Convenience method to create a translating instance.static MatrixMatrix.getTranslatingInstance(float x, float y) Deprecated.UsegetTranslateInstance(float, float)instead.This method multiplies this Matrix with the specified other Matrix, storing the product in a new instance.Deprecated.Methods in org.apache.pdfbox.util with parameters of type MatrixModifier and TypeMethodDescriptionvoidMatrix.concatenate(Matrix matrix) Concatenates (premultiplies) the given matrix to this matrix.static MatrixMatrix.concatenate(Matrix a, Matrix b) Produces a copy of the first matrix, with the second matrix concatenated.This method multiplies this Matrix with the specified other Matrix, storing the product in a new instance.Deprecated.
PDFStreamEngine.showFontGlyph(Matrix, PDFont, int, Vector)instead