PdfName | addFormXObj(final PdfStream formXObj, final PdfName name, final float a, final float b, final float c, final float d, final float e, final float f) Adds a form XObject to this content. |
PdfName | addFormXObj(final PdfStream formXObj, final PdfName name, final double a, final double b, final double c, final double d, final double e, final double f) Adds a form XObject to this content. |
void | addImage(final Image image) Adds an Image to the page. |
void | addImage(final Image image, final float a, final float b, final float c, final float d, final float e, final float f) Adds an Image to the page. |
void | addImage(final Image image, final double a, final double b, final double c, final double d, final double e, final double f) Adds an Image to the page. |
void | addImage(final Image image, final float a, final float b, final float c, final float d, final float e, final float f, final boolean inlineImage) Adds an Image to the page. |
void | addImage(final Image image, final double a, final double b, final double c, final double d, final double e, final double f, final boolean inlineImage) Adds an Image to the page. |
void | addImage(final Image image, final boolean inlineImage) Adds an Image to the page. |
void | addImage(final Image image, final AffineTransform transform) adds an image with the given matrix. |
void | addImage(final Image image, final java.awt.geom.AffineTransform transform) adds an image with the given matrix. |
void | addTemplate(final PdfTemplate template, final AffineTransform transform, boolean tagContent) adds a template with the given matrix. |
void | addTemplate(final PdfTemplate template, final float x, final float y) Adds a template to this content. |
void | addTemplate(final PdfTemplate template, final double x, final double y) Adds a template to this content. |
void | addTemplate(final PdfTemplate template, final float a, final float b, final float c, final float d, final float e, final float f) Adds a template to this content. |
void | addTemplate(final PdfTemplate template, final double a, final double b, final double c, final double d, final double e, final double f) Adds a template to this content. |
void | beginLayer(final PdfOCG layer) Begins a graphic block whose visibility is controlled by the layer . |
void | beginText() Starts the writing of text. |
ArrayList | bezierArc(float x1, float y1, float x2, float y2, final float startAng, final float extent) Generates an array of bezier curves to draw an arc. |
ArrayList | bezierArc(double x1, double y1, double x2, double y2, final double startAng, final double extent) Generates an array of bezier curves to draw an arc. |
void | circle(final float x, final float y, final float r) Draws a circle. |
void | circle(final double x, final double y, final double r) Draws a circle. |
void | clip() Modify the current clipping path by intersecting it with the current path, using the nonzero winding number rule to determine which regions lie inside the clipping path. |
void | closePath() Closes the current subpath by appending a straight line segment from the current point to the starting point of the subpath. |
void | closePathFillStroke() Closes the path, fills it using the non-zero winding number rule to determine the region to fill and strokes it. |
void | closePathStroke() Closes the path and strokes it. |
void | concatCTM(final float a, final float b, final float c, final float d, final float e, final float f) Concatenate a matrix to the current transformation matrix. |
void | concatCTM(final double a, final double b, final double c, final double d, final double e, final double f) Concatenate a matrix to the current transformation matrix. |
PdfAppearance | createAppearance(final float width, final float height) Creates a new appearance to be used with form fields. |
java.awt.Graphics2D | createGraphics(final float width, final float height) Gets a Graphics2D to write on. |
java.awt.Graphics2D | createGraphicsShapes(final float width, final float height) Gets a Graphics2D to write on. |
PdfTemplate | createTemplate(final float width, final float height) Creates a new template. |
void | curveTo(final float x2, final float y2, final float x3, final float y3) Appends a Bêzier curve to the path, starting from the current point. |
void | curveTo(final double x2, final double y2, final double x3, final double y3) Appends a Bêzier curve to the path, starting from the current point. |
void | curveTo(final float x1, final float y1, final float x2, final float y2, final float x3, final float y3) Appends a Bêzier curve to the path, starting from the current point. |
void | curveTo(final double x1, final double y1, final double x2, final double y2, final double x3, final double y3) Appends a Bêzier curve to the path, starting from the current point. |
void | ellipse(final float x1, final float y1, final float x2, final float y2) Draws an ellipse inscribed within the rectangle x1,y1,x2,y2. |
void | ellipse(final double x1, final double y1, final double x2, final double y2) Draws an ellipse inscribed within the rectangle x1,y1,x2,y2. |
void | endLayer() Ends a layer controlled graphic block. |
void | endText() Ends the writing of text and makes the current font invalid. |
void | fill() Fills the path, using the non-zero winding number rule to determine the region to fill. |
void | fillStroke() Fills the path using the non-zero winding number rule to determine the region to fill and strokes it. |
float | getEffectiveStringWidth(final String text, final boolean kerned) Computes the width of the given string taking in account the current values of "Character spacing", "Word Spacing" and "Horizontal Scaling". |
ByteBuffer | getInternalBuffer() Gets the internal buffer. |
PdfTextArray | getKernArray(final String text, final BaseFont font) Constructs a kern array for a text in a certain font |
PdfDocument | getPdfDocument() Gets the PdfDocument in use by this object. |
PdfWriter | getPdfWriter() Gets the PdfWriter in use by this object. |
void | lineTo(final float x, final float y) Appends a straight line segment from the current point (x, y). |
void | lineTo(final double x, final double y) Appends a straight line segment from the current point (x, y). |
void | moveText(final float x, final float y) Moves to the start of the next line, offset from the start of the current line. |
void | moveTextWithLeading(final float x, final float y) Moves to the start of the next line, offset from the start of the current line. |
void | moveTo(final float x, final float y) Move the current point (x, y), omitting any connecting line segment. |
void | moveTo(final double x, final double y) Move the current point (x, y), omitting any connecting line segment. |
void | newlineShowText(final String text) Moves to the next line and shows text . |
void | newlineText() Moves to the start of the next line. |
void | newPath() Ends the path without filling or stroking it. |
void | rectangle(final float x, final float y, final float w, final float h) Adds a rectangle to the current path. |
void | rectangle(final double x, final double y, final double w, final double h) Adds a rectangle to the current path. |
void | rectangle(final Rectangle rectangle) Adds a border (complete or partially) to the current path.. |
void | resetRGBColorFill() Changes the current color for filling paths to black. |
void | restoreState() Restores the graphic state. |
void | roundRectangle(float x, float y, float w, float h, float r) Adds a round rectangle to the current path. |
void | roundRectangle(double x, double y, double w, double h, double r) Adds a round rectangle to the current path. |
void | sanityCheck() Checks for any dangling state: Mismatched save/restore state, begin/end text, begin/end layer, or begin/end marked content sequence. |
void | saveState() Saves the graphic state. |
void | setAction(final PdfAction action, final float llx, final float lly, final float urx, final float ury) Implements an action in an area. |
void | setCharacterSpacing(final float charSpace) Sets the character spacing parameter. |
void | setCMYKColorFillF(final float cyan, final float magenta, final float yellow, final float black) Changes the current color for filling paths (device dependent colors!). |
void | setCMYKColorStroke(final int cyan, final int magenta, final int yellow, final int black) Changes the current color for stroking paths (device dependent colors!). |
void | setColorFill(final BaseColor color) Sets the fill color. |
void | setColorStroke(final BaseColor color) Sets the stroke color. |
void | setFontAndSize(final BaseFont bf, final float size) Set the font and the size for the subsequent text writing. |
void | setGrayFill(final float gray) Changes the currentgray tint for filling paths (device dependent colors!). |
void | setGrayStroke(final float gray) Changes the currentgray tint for stroking paths (device dependent colors!). |
void | setGState(final PdfGState gstate) Sets the graphic state |
void | setHorizontalScaling(final float scale) Sets the horizontal scaling parameter. |
void | setLeading(final float leading) Sets the text leading parameter. |
void | setLineCap(final int style) Changes the Line cap style. |
void | setLineDash(final float unitsOn, final float phase) Changes the value of the line dash pattern. |
void | setLineDash(final double unitsOn, final double phase) Changes the value of the line dash pattern. |
void | setLineDash(final float[] array, final float phase) Changes the value of the line dash pattern. |
void | setLineDash(final double[] array, final double phase) Changes the value of the line dash pattern. |
void | setLineDash(final float unitsOn, final float unitsOff, final float phase) Changes the value of the line dash pattern. |
void | setLineDash(final double unitsOn, final double unitsOff, final double phase) Changes the value of the line dash pattern. |
void | setLineJoin(final int style) Changes the Line join style. |
void | setLineWidth(final float w) Changes the line width. |
void | setLineWidth(final double w) Changes the line width. |
void | setMiterLimit(final float miterLimit) Changes the Miter limit. |
void | setMiterLimit(final double miterLimit) Changes the Miter limit. |
void | setRGBColorFill(final int red, final int green, final int blue) Changes the current color for filling paths (device dependent colors!). |
void | setRGBColorFillF(final float red, final float green, final float blue) Changes the current color for filling paths (device dependent colors!). |
void | setRGBColorStroke(final int red, final int green, final int blue) Changes the current color for stroking paths (device dependent colors!). |
void | setRGBColorStrokeF(final float red, final float green, final float blue) Changes the current color for stroking paths (device dependent colors!). |
void | setTextMatrix(final float x, final float y) Changes the text matrix. |
void | setTextMatrix(final float a, final float b, final float c, final float d, final float x, final float y) Changes the text matrix. |
void | setTextRenderingMode(final int rendering) Sets the text rendering parameter. |
void | setTextRise(final float rise) Sets the text rise parameter. |
void | setTextRise(final double rise) Sets the text rise parameter. |
void | setWordSpacing(final float wordSpace) Sets the word spacing parameter. |
void | showText(final String text) Shows the text . |
void | showText(final PdfTextArray text) Show an array of text. |
void | showTextAligned(final int alignment, final String text, final float x, final float y, final float rotation) Shows text right, left or center aligned with rotation. |
void | showTextAlignedKerned(final int alignment, final String text, final float x, final float y, final float rotation) Shows text kerned right, left or center aligned with rotation. |
void | stroke() Strokes the path. |
void | transform(final AffineTransform af) Concatenates a transformation to the current transformation matrix. |
void | transform(final java.awt.geom.AffineTransform af) Concatenates a transformation to the current transformation matrix. |