Uses of Class
org.sejda.sambox.util.Matrix
Packages that use Matrix
Package
Description
The destination package allows destinations into a pdf document to be specified.
-
Uses of Matrix in org.sejda.sambox.contentstream
Methods in org.sejda.sambox.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.sejda.sambox.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, Vector displacement) Called when a glyph is to be processed.This method is intended for overriding in subclasses, the default implementation does nothing.protected voidCalled when a glyph is to be processed.protected voidPDFStreamEngine.showType3Glyph(Matrix textRenderingMatrix, PDType3Font font, int code, Vector displacement) Called when a glyph is to be processed.This method is intended for overriding in subclasses, the default implementation does nothing. -
Uses of Matrix in org.sejda.sambox.pdmodel
Methods in org.sejda.sambox.pdmodel that return MatrixMethods in org.sejda.sambox.pdmodel with parameters of type MatrixModifier and TypeMethodDescriptionvoidPDPageContentStream.drawImage(PDFormXObject image, Matrix matrix, PDExtendedGraphicsState state) voidPDPageContentStream.drawImage(PDImageXObject image, Matrix matrix, PDExtendedGraphicsState state) Draw an image at the origin with the given transformation matrix.voidPDPageContentStream.setTextMatrix(Matrix matrix) The Tm operator.voidThe cm operator. -
Uses of Matrix in org.sejda.sambox.pdmodel.common
Methods in org.sejda.sambox.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.sejda.sambox.pdmodel.font
Fields in org.sejda.sambox.pdmodel.font declared as MatrixMethods in org.sejda.sambox.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.sejda.sambox.pdmodel.graphics.color
Methods in org.sejda.sambox.pdmodel.graphics.color with parameters of type Matrix -
Uses of Matrix in org.sejda.sambox.pdmodel.graphics.form
Methods in org.sejda.sambox.pdmodel.graphics.form that return Matrix -
Uses of Matrix in org.sejda.sambox.pdmodel.graphics.pattern
Methods in org.sejda.sambox.pdmodel.graphics.pattern that return Matrix -
Uses of Matrix in org.sejda.sambox.pdmodel.graphics.shading
Fields in org.sejda.sambox.pdmodel.graphics.shading declared as MatrixMethods in org.sejda.sambox.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.sejda.sambox.pdmodel.graphics.shading with parameters of type MatrixModifier and TypeMethodDescriptionPDShading.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) abstract PaintReturns an AWT paint which corresponds to this shadingConstructors in org.sejda.sambox.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.RadialShadingContext(PDShadingType3 shading, ColorModel colorModel, AffineTransform xform, Matrix matrix, Rectangle deviceBounds) Constructor creates an instance to be used for fill operations.ShadingContext(PDShading shading, ColorModel cm, AffineTransform xform, Matrix matrix) Constructor. -
Uses of Matrix in org.sejda.sambox.pdmodel.graphics.state
Methods in org.sejda.sambox.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.sejda.sambox.pdmodel.graphics.state with parameters of type MatrixModifier and TypeMethodDescriptionvoidPDGraphicsState.setCurrentTransformationMatrix(Matrix value) Set the value of the CTM. -
Uses of Matrix in org.sejda.sambox.rendering
Methods in org.sejda.sambox.rendering with parameters of type MatrixModifier and TypeMethodDescriptionprotected voidPageDrawer.showFontGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement) protected voidPageDrawer.showType3Glyph(Matrix textRenderingMatrix, PDType3Font font, int code, Vector displacement) -
Uses of Matrix in org.sejda.sambox.text
Methods in org.sejda.sambox.text that return MatrixModifier and TypeMethodDescriptionTextPosition.getTextMatrix()The matrix containing the starting text position and scaling.Methods in org.sejda.sambox.text with parameters of type MatrixModifier and TypeMethodDescriptionprotected voidPDFTextStreamEngine.showGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement) Called when a glyph is to be processed.Constructors in org.sejda.sambox.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) TextPosition(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, PDColor color, RenderingMode renderingMode) Constructor. -
Uses of Matrix in org.sejda.sambox.util
Methods in org.sejda.sambox.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.sejda.sambox.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.