| Modifier and Type | Method and Description |
|---|---|
Matrix |
Matrix.concat(Matrix Mt)
Concatenate a matrix onto an existing matrix.
|
Matrix |
DrawParams.getMatrix()
A pointer to the matrix to concatenate onto the default page matrix.
|
Matrix |
Element.getMatrix()
The transformation matrix for the element.
|
Matrix |
Text.getTextMatrixForCharacter(int characterIndex)
Gets the transformation matrix from user space to the current text space for the specified character.
|
Matrix |
Text.getTextMatrixForTextRun(int textRunIndex)
Gets the transformation matrix from user space to the current text space for the specified TextRun.
|
Matrix |
Matrix.invert()
Invert the Matrix object and return a new Matrix object.
|
static Matrix |
Matrix.multiply(Matrix m1,
Matrix m2)
Multiply two transformation matrices.
|
Matrix |
Matrix.rotate(double T)
Rotate a matrix by T degrees counterclockwise units.
|
Matrix |
Matrix.scale(double sx,
double sy)
Scale a matrix by (sx,sy) units.
|
Matrix |
Matrix.translate(double tx,
double ty)
Translate a matrix by (tx,ty) units.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Text.addGlyphs(java.util.List<java.lang.Character> glyphIDs,
java.util.List<java.lang.Character> uniText,
Font font,
GraphicState gState,
TextState state,
Matrix matrix,
java.util.EnumSet<TextFlags> flags)
Adds Unicode text to a Text object
|
void |
Text.addGlyphs(java.util.List<java.lang.Character> glyphIDs,
java.util.List<java.lang.Character> uniText,
Font font,
GraphicState gState,
TextState state,
Matrix matrix,
java.util.EnumSet<TextFlags> flags,
int index)
Adds Unicode text to a Text object
|
void |
Content.addPage(int insertAfterIndex,
Document containerDoc,
Page srcPage,
Matrix dstMatrix,
java.util.List<java.lang.String> annotTypes,
java.util.EnumSet<AddPageFlags> flags,
Rect bbox)
Adds the specfied Page to the Content as a Form.
|
void |
Text.changeMatrixForTextRun(Matrix newMatrix,
int textRunIndex)
Changes the transformation matrix from user space to the current text space for the specified TextRun.
|
void |
Text.changeTextMatrixForTextRun(Matrix newMatrix,
int textRunIndex)
Changes the transformation matrix from user space to the current text space for the specified TextRun.
|
Matrix |
Matrix.concat(Matrix Mt)
Concatenate a matrix onto an existing matrix.
|
Point |
Point.distanceTransform(Matrix arg0)
Distance Transform the Point Object by the values in the Matrix parameter, which is a transformation without any translation.
|
void |
Page.drawContents(java.awt.image.BufferedImage image,
Matrix matrix,
Rect updateRect)
Draw the contents of this page to an image, only DeviceRGBA colorModel is supported.
|
void |
Page.drawContents(java.awt.image.BufferedImage image,
Matrix matrix,
Rect updateRect,
java.util.EnumSet<SmoothFlags> newAntiAlias,
boolean doThinLine,
boolean bypassCopyPerm)
Draw the contents of this page to a BufferedImage, only DeviceRGBA colorModel is supported.
|
static Matrix |
Matrix.multiply(Matrix m1,
Matrix m2)
Multiply two transformation matrices.
|
void |
DrawParams.setMatrix(Matrix matrix)
A pointer to the matrix to concatenate onto the default page matrix.
|
void |
Element.setMatrix(Matrix matrix)
Set the transformation matrix for the element.
|
Point |
Point.transform(Matrix arg0)
Transform the Point Object by the values in the Matrix parameter.
|
Quad |
Quad.transform(Matrix arg0)
Create a new quad from the results of a Transform on each point of the Quad.
|
Rect |
Rect.transform(Matrix arg0)
Transform the coordinates of the rectangle by the given Matrix Object.
|
| Constructor and Description |
|---|
TextRun(java.lang.String text,
Font font,
GraphicState gstate,
TextState tstate,
Matrix matrix) |