| Package | Description |
|---|---|
| org.sejda.sambox.contentstream | |
| org.sejda.sambox.pdmodel | |
| org.sejda.sambox.pdmodel.common | |
| org.sejda.sambox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
| org.sejda.sambox.pdmodel.graphics.color | |
| org.sejda.sambox.pdmodel.graphics.form | |
| org.sejda.sambox.pdmodel.graphics.pattern | |
| org.sejda.sambox.pdmodel.graphics.shading | |
| org.sejda.sambox.pdmodel.graphics.state | |
| org.sejda.sambox.rendering | |
| org.sejda.sambox.text | |
| org.sejda.sambox.util |
| Modifier and Type | Method and 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() |
| Modifier and Type | Method and 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,
String unicode,
Vector displacement)
Called when a glyph is to be processed.This method is intended for overriding in subclasses, the default
implementation does nothing.
|
protected void |
PDFStreamEngine.showGlyph(Matrix textRenderingMatrix,
PDFont font,
int code,
String unicode,
Vector displacement)
Called when a glyph is to be processed.This method is intended for overriding in subclasses, the default
implementation does nothing.
|
protected void |
PDFStreamEngine.showType3Glyph(Matrix textRenderingMatrix,
PDType3Font font,
int code,
String unicode,
Vector displacement)
Called when a glyph is to be processed.This method is intended for overriding in subclasses, the default
implementation does nothing.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix |
PDPage.getMatrix() |
| Modifier and Type | Method and Description |
|---|---|
void |
PDPageContentStream.drawImage(PDFormXObject image,
Matrix matrix,
PDExtendedGraphicsState state) |
void |
PDPageContentStream.drawImage(PDImageXObject image,
Matrix matrix,
PDExtendedGraphicsState state)
Draw an image at the origin with the given transformation matrix.
|
void |
PDPageContentStream.setTextMatrix(Matrix matrix)
The Tm operator.
|
void |
PDPageContentStream.transform(Matrix matrix)
The cm operator.
|
| Modifier and Type | Method and Description |
|---|---|
GeneralPath |
PDRectangle.transform(Matrix matrix)
Returns a path which represents this rectangle having been transformed by the given matrix.
|
| Modifier and Type | Field and Description |
|---|---|
protected static Matrix |
PDFont.DEFAULT_FONT_MATRIX |
| Modifier and Type | Method and Description |
|---|---|
Matrix |
PDType1CFont.getFontMatrix() |
Matrix |
PDType3Font.getFontMatrix() |
Matrix |
PDCIDFontType0.getFontMatrix() |
Matrix |
PDFont.getFontMatrix() |
Matrix |
PDCIDFontType2.getFontMatrix() |
abstract Matrix |
PDCIDFont.getFontMatrix() |
Matrix |
PDFontLike.getFontMatrix()
Returns the font matrix, which represents the transformation from glyph space to text space.
|
Matrix |
PDType0Font.getFontMatrix() |
Matrix |
PDType1Font.getFontMatrix() |
Matrix |
PDType3CharProc.getMatrix() |
| Modifier and Type | Method and Description |
|---|---|
void |
PDCalRGB.setMatrix(Matrix matrix)
Sets the linear interpretation matrix.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix |
PDFormXObject.getMatrix()
This will get the optional Matrix of an XObjectForm.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix |
PDAbstractPattern.getMatrix()
Returns the pattern matrix, or the identity matrix is none is available.
|
| Modifier and Type | Field and Description |
|---|---|
protected Matrix |
ShadingPaint.matrix |
| Modifier and Type | Method and Description |
|---|---|
Matrix |
ShadingPaint.getMatrix() |
Matrix |
PDShadingType1.getMatrix()
This will get the optional Matrix of a function based shading.
|
| Modifier and Type | Method and Description |
|---|---|
Paint |
PDShadingType2.toPaint(Matrix matrix) |
Paint |
PDShadingType3.toPaint(Matrix matrix) |
Paint |
PDShadingType4.toPaint(Matrix matrix) |
Paint |
PDShadingType5.toPaint(Matrix matrix) |
Paint |
PDShadingType6.toPaint(Matrix matrix) |
Paint |
PDShadingType7.toPaint(Matrix matrix) |
abstract Paint |
PDShading.toPaint(Matrix matrix)
Returns an AWT paint which corresponds to this shading
|
Paint |
PDShadingType1.toPaint(Matrix matrix) |
| Constructor and Description |
|---|
AxialShadingContext(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.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix |
PDGraphicsState.getCurrentTransformationMatrix()
Get the value of the CTM.
|
Matrix |
PDSoftMask.getInitialTransformationMatrix()
Returns the CTM at the time the ExtGState was activated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PDGraphicsState.setCurrentTransformationMatrix(Matrix value)
Set the value of the CTM.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PageDrawer.showFontGlyph(Matrix textRenderingMatrix,
PDFont font,
int code,
String unicode,
Vector displacement) |
| Modifier and Type | Method and Description |
|---|---|
Matrix |
TextPosition.getTextMatrix()
The matrix containing the starting text position and scaling.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PDFTextStreamEngine.showGlyph(Matrix textRenderingMatrix,
PDFont font,
int code,
String unicode,
Vector displacement)
This method was originally written by Ben Litchfield for PDFStreamEngine.
|
| Constructor and Description |
|---|
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)
Constructor.
|
| Modifier and Type | Method and 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 sx,
float sy)
Convenience method to create a scaled instance.
|
static Matrix |
Matrix.getTranslateInstance(float tx,
float ty)
Convenience method to create a translating instance.
|
static Matrix |
Matrix.getTranslatingInstance(float tx,
float ty)
Deprecated.
Use
getTranslateInstance(float, float) instead. |
Matrix |
Matrix.multiply(Matrix b)
This will take the current matrix and multiply 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 and 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 b)
This will take the current matrix and multiply 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.
|
Copyright © 2019 sejda. All rights reserved.