Modifier and Type | Method and Description |
---|---|
Rectangle |
BarcodeQRCode.placeBarcode(PdfCanvas canvas, Color foreground) |
Rectangle |
BarcodePDF417.placeBarcode(PdfCanvas canvas, Color foreground) |
Rectangle |
BarcodeDataMatrix.placeBarcode(PdfCanvas canvas, Color foreground) |
abstract Rectangle |
Barcode2D.placeBarcode(PdfCanvas canvas, Color foreground)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodePostnet.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor) |
Rectangle |
BarcodeInter25.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeEANSUPP.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeEAN.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeCodabar.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
Barcode39.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
abstract Rectangle |
Barcode1D.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
Barcode128.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeQRCode.placeBarcode(PdfCanvas canvas, Color foreground, float moduleSide)
* Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeDataMatrix.placeBarcode(PdfCanvas canvas, Color foreground, float moduleSide) |
Rectangle |
BarcodePDF417.placeBarcode(PdfCanvas canvas, Color foreground, float moduleWidth, float moduleHeight) |
Modifier and Type | Method and Description |
---|---|
protected void |
PdfFormField.drawBorder(PdfCanvas canvas, PdfFormXObject xObject, float width, float height)
Draws a border using the borderWidth and borderColor of the form field.
|
protected void |
PdfFormField.drawButton(PdfCanvas canvas, float x, float y, float width, float height, String text, PdfFont font, float fontSize)
Performs the low-level drawing operations to draw a button object.
|
protected void |
PdfFormField.drawButton(PdfCanvas canvas, float x, float y, float width, float height, String text, PdfFont font, int fontSize)
Deprecated.
Will be removed in 7.1. Use
PdfFormField.drawButton(PdfCanvas, float, float, float, float, String, PdfFont, float) instead.
|
protected void |
PdfFormField.drawCheckBox(PdfCanvas canvas, float width, float height, float fontSize, boolean on)
Performs the low-level drawing operations to draw a checkbox object.
|
protected void |
PdfFormField.drawCheckBox(PdfCanvas canvas, float width, float height, int fontSize, boolean on)
Deprecated.
Will be removed in 7.1. Use
PdfFormField.drawCheckBox(PdfCanvas, float, float, float, boolean) instead.
|
protected void |
PdfFormField.drawPdfACheckBox(PdfCanvas canvas, float width, float height, boolean on) |
protected void |
PdfFormField.drawRadioBorder(PdfCanvas canvas, PdfFormXObject xObject, float width, float height) |
protected void |
PdfFormField.drawRadioField(PdfCanvas canvas, float width, float height, boolean on)
Draws a radio button.
|
Modifier and Type | Class and Description |
---|---|
class |
Type3Glyph
The content where Type3 glyphs are written to.
|
Modifier and Type | Class and Description |
---|---|
class |
PdfPatternCanvas
A PdfCanvas instance with an inherent tiling pattern.
|
Modifier and Type | Method and Description |
---|---|
PdfCanvas |
PdfCanvas.addXObject(PdfXObject xObject, float x, float y)
Adds PdfXObject to the specified position.
|
PdfCanvas |
PdfCanvas.addXObject(PdfXObject xObject, float x, float y, float width)
Adds PdfXObject to the specified position with specified width preserving aspect ratio.
|
PdfCanvas |
PdfCanvas.addXObject(PdfXObject xObject, float x, float y, float height, boolean dummy)
Adds PdfXObject to the specified position with specified height preserving aspect ratio.
|
PdfCanvas |
PdfCanvas.addXObject(PdfXObject xObject, float a, float b, float c, float d, float e, float f)
Adds PdfXObject to canvas.
|
PdfCanvas |
PdfCanvas.addXObject(PdfXObject xObject, Rectangle rect)
Adds PdfXObject to specified rectangle on canvas.
|
PdfCanvas |
PdfCanvas.arc(double x1, double y1, double x2, double y2, double startAng, double extent)
Draws a partial ellipse inscribed within the rectangle x1,y1,x2,y2, starting at startAng degrees and covering extent degrees.
|
PdfCanvas |
PdfCanvas.beginLayer(IPdfOCG layer)
Begins a graphic block whose visibility is controlled by the layer .
|
PdfCanvas |
PdfCanvas.beginMarkedContent(PdfName tag)
Manually start a Marked Content sequence.
|
PdfCanvas |
PdfCanvas.beginMarkedContent(PdfName tag, PdfDictionary properties)
Manually start a Marked Content sequence with properties.
|
PdfCanvas |
PdfCanvas.beginText()
Begins text block (PDF BT operator).
|
PdfCanvas |
PdfCanvas.beginVariableText()
Begins variable text block
|
PdfCanvas |
PdfCanvas.circle(double x, double y, double r)
Draws a circle.
|
PdfCanvas |
PdfCanvas.clip()
Modify the current clipping path by intersecting it with the current path, using the nonzero winding rule to determine which regions lie inside the clipping path.
|
PdfCanvas |
PdfCanvas.closePath()
Closes the current subpath by appending a straight line segment from the current point to the starting point of the subpath.
|
PdfCanvas |
PdfCanvas.closePathEoFillStroke()
Closes the path, fills it using the even-odd rule to determine the region to fill and strokes it.
|
PdfCanvas |
PdfCanvas.closePathFillStroke()
Closes the path, fills it using the non-zero winding number rule to determine the region to fill and strokes it.
|
PdfCanvas |
PdfCanvas.closePathStroke()
Closes the path and strokes it.
|
PdfCanvas |
PdfCanvas.closeTag()
Manually close a tag, ending a Marked Content sequence.
|
PdfCanvas |
PdfCanvas.concatMatrix(AffineTransform transform)
Concatenates the affine transformation matrix to the current matrix in the content stream managed by this Canvas.
|
PdfCanvas |
PdfCanvas.concatMatrix(double a, double b, double c, double d, double e, double f)
Concatenates the 2x3 affine transformation matrix to the current matrix in the content stream managed by this Canvas.
|
PdfCanvas |
PdfCanvas.concatMatrix(PdfArray array)
Concatenates the 2x3 affine transformation matrix to the current matrix in the content stream managed by this Canvas.
|
PdfCanvas |
PdfCanvas.curveFromTo(double x1, double y1, double x3, double y3)
Appends a B??zier curve to the path, starting from the current point.
|
PdfCanvas |
PdfCanvas.curveTo(double x2, double y2, double x3, double y3)
Appends a B??zier curve to the path, starting from the current point.
|
PdfCanvas |
PdfCanvas.curveTo(double x1, double y1, double x2, double y2, double x3, double y3)
Appends a Bêzier curve to the path, starting from the current point.
|
PdfCanvas |
PdfCanvas.ellipse(double x1, double y1, double x2, double y2)
Draws an ellipse inscribed within the rectangle x1,y1,x2,y2.
|
PdfCanvas |
PdfCanvas.endLayer()
Ends OCG layer.
|
PdfCanvas |
PdfCanvas.endMarkedContent()
Manually end a Marked Content sequence.
|
PdfCanvas |
PdfCanvas.endText()
Ends text block (PDF ET operator).
|
PdfCanvas |
PdfCanvas.endVariableText()
Ends variable text block
|
PdfCanvas |
PdfCanvas.eoClip()
Modify the current clipping path by intersecting it with the current path, using the even-odd rule to determine which regions lie inside the clipping path.
|
PdfCanvas |
PdfCanvas.eoFill()
EOFills current path.
|
PdfCanvas |
PdfCanvas.eoFillStroke()
Fills the path, using the even-odd rule to determine the region to fill and strokes it.
|
PdfCanvas |
PdfCanvas.fill()
Fills current path.
|
PdfCanvas |
PdfCanvas.fillStroke()
Fills the path using the non-zero winding number rule to determine the region to fill and strokes it.
|
PdfCanvas |
PdfCanvas.lineTo(double x, double y)
Appends a straight line segment from the current point (x, y).
|
PdfCanvas |
PdfCanvas.moveText(double x, double y)
Moves text by shifting text line matrix (PDF Td operator).
|
PdfCanvas |
PdfCanvas.moveTextWithLeading(float x, float y)
Moves to the start of the next line, offset from the start of the current line.
|
PdfCanvas |
PdfCanvas.moveTo(double x, double y)
Move the current point (x, y), omitting any connecting line segment.
|
PdfCanvas |
PdfCanvas.newlineShowText(float wordSpacing, float charSpacing, String text)
Moves to the next line and shows text string, using the given values of the character and word spacing parameters.
|
PdfCanvas |
PdfCanvas.newlineShowText(String text)
Moves to the next line and shows text .
|
PdfCanvas |
PdfCanvas.newlineText()
Moves to the start of the next line.
|
PdfCanvas |
PdfCanvas.newPath()
Ends the path without filling or stroking it.
|
PdfCanvas |
PdfCanvas.openTag(CanvasTag tag)
Manually open a canvas tag, beginning a Marked Content sequence.
|
PdfCanvas |
PdfCanvas.openTag(TagReference tagReference)
Open a tag, beginning a Marked Content sequence.
|
PdfCanvas |
PdfCanvas.paintShading(PdfShading shading)
Paints a shading object and adds it to the resources of this canvas
|
PdfCanvas |
PdfCanvas.rectangle(double x, double y, double width, double height)
Draws a rectangle.
|
PdfCanvas |
PdfCanvas.rectangle(Rectangle rectangle)
Draws a rectangle.
|
PdfCanvas |
PdfCanvas.resetFillColorCmyk()
Changes the current color for filling paths to black.
|
PdfCanvas |
PdfCanvas.resetFillColorGray()
Changes the current color for filling paths to black.
|
PdfCanvas |
PdfCanvas.resetFillColorRgb()
Changes the current color for filling paths to black.
|
PdfCanvas |
PdfCanvas.resetStrokeColorCmyk()
Changes the current color for stroking paths to black.
|
PdfCanvas |
PdfCanvas.resetStrokeColorGray()
Changes the current color for stroking paths to black.
|
PdfCanvas |
PdfCanvas.resetStrokeColorRgb()
Changes the current color for stroking paths to black.
|
PdfCanvas |
PdfCanvas.restoreState()
Restores graphics state.
|
PdfCanvas |
PdfCanvas.roundRectangle(double x, double y, double width, double height, double radius)
Draws rounded rectangle.
|
PdfCanvas |
PdfCanvas.saveState()
Saves graphics state.
|
PdfCanvas |
PdfCanvas.setCharacterSpacing(float charSpacing)
Sets the character spacing parameter.
|
PdfCanvas |
PdfCanvas.setColor(Color color, boolean fill)
Changes the current color for paths.
|
PdfCanvas |
PdfCanvas.setColor(PdfColorSpace colorSpace, float[] colorValue, boolean fill)
Changes the current color for paths.
|
PdfCanvas |
PdfPatternCanvas.setColor(PdfColorSpace colorSpace, float[] colorValue, PdfPattern pattern, boolean fill) |
PdfCanvas |
PdfCanvas.setColor(PdfColorSpace colorSpace, float[] colorValue, PdfPattern pattern, boolean fill)
Changes the current color for paths with an explicitly defined pattern.
|
PdfCanvas |
PdfCanvas.setExtGState(PdfExtGState extGState)
Sets the ExtGState dictionary for the current graphics state
|
PdfCanvas |
PdfCanvas.setFillColor(Color color)
Changes the current color for filling paths.
|
PdfCanvas |
PdfCanvas.setFillColorCmyk(float c, float m, float y, float k)
Changes the current color for filling paths to a CMYK value.
|
PdfCanvas |
PdfCanvas.setFillColorGray(float g)
Changes the current color for filling paths to a grayscale value.
|
PdfCanvas |
PdfCanvas.setFillColorRgb(float r, float g, float b)
Changes the current color for filling paths to an RGB value.
|
PdfCanvas |
PdfCanvas.setFillColorShading(PdfPattern.Shading shading)
Adds or changes the shading of the current fill color path.
|
PdfCanvas |
PdfCanvas.setFlatnessTolerance(float flatnessTolerance)
Changes the Flatness.
|
PdfCanvas |
PdfCanvas.setFontAndSize(PdfFont font, float size)
Sets font and size (PDF Tf operator).
|
PdfCanvas |
PdfCanvas.setHorizontalScaling(float scale)
Sets the horizontal scaling parameter.
|
PdfCanvas |
PdfCanvas.setLeading(float leading)
Sets the text leading parameter.
|
PdfCanvas |
PdfCanvas.setLineCapStyle(int lineCapStyle)
Sets the line cap style, the shape to be used at the ends of open subpaths when they are stroked.
|
PdfCanvas |
PdfCanvas.setLineDash(float phase)
Changes the value of the line dash pattern.
|
PdfCanvas |
PdfCanvas.setLineDash(float[] array, float phase)
Changes the value of the line dash pattern.
|
PdfCanvas |
PdfCanvas.setLineDash(float unitsOn, float phase)
Changes the value of the line dash pattern.
|
PdfCanvas |
PdfCanvas.setLineDash(float unitsOn, float unitsOff, float phase)
Changes the value of the line dash pattern.
|
PdfCanvas |
PdfCanvas.setLineJoinStyle(int lineJoinStyle)
Sets the line join style, the shape to be used at the corners of paths when they are stroked.
|
PdfCanvas |
PdfCanvas.setLineWidth(float lineWidth)
Sets line width.
|
PdfCanvas |
PdfCanvas.setMiterLimit(float miterLimit)
Sets the miter limit, a parameter specifying the maximum length a miter join may extend beyond the join point, relative to the angle of the line segments.
|
PdfCanvas |
PdfCanvas.setRenderingIntent(PdfName renderingIntent)
Set the rendering intent.
|
PdfCanvas |
PdfCanvas.setStrokeColor(Color color)
Changes the current color for stroking paths.
|
PdfCanvas |
PdfCanvas.setStrokeColorCmyk(float c, float m, float y, float k)
Changes the current color for stroking paths to a CMYK value.
|
PdfCanvas |
PdfCanvas.setStrokeColorGray(float g)
Changes the current color for stroking paths to a grayscale value.
|
PdfCanvas |
PdfCanvas.setStrokeColorRgb(float r, float g, float b)
Changes the current color for stroking paths to an RGB value.
|
PdfCanvas |
PdfCanvas.setStrokeColorShading(PdfPattern.Shading shading)
Adds or changes the shading of the current stroke color path.
|
PdfCanvas |
PdfCanvas.setTextMatrix(float x, float y)
Changes the text matrix.
|
PdfCanvas |
PdfCanvas.setTextMatrix(float a, float b, float c, float d, float x, float y)
Replaces the text matrix.
|
PdfCanvas |
PdfCanvas.setTextRenderingMode(int textRenderingMode)
Sets text rendering mode.
|
PdfCanvas |
PdfCanvas.setTextRise(float textRise)
Sets the text rise parameter.
|
PdfCanvas |
PdfCanvas.setWordSpacing(float wordSpacing)
Sets the word spacing parameter.
|
PdfCanvas |
PdfCanvas.showText(GlyphLine text)
Shows text (operator Tj).
|
PdfCanvas |
PdfCanvas.showText(PdfArray textArray)
Shows text (operator TJ)
|
PdfCanvas |
PdfCanvas.showText(String text)
Shows text (operator Tj).
|
PdfCanvas |
PdfCanvas.stroke()
Strokes the path.
|
PdfCanvas |
PdfCanvas.writeLiteral(char c)
Outputs a char directly to the content.
|
PdfCanvas |
PdfCanvas.writeLiteral(float n)
Outputs a float directly to the content.
|
PdfCanvas |
PdfCanvas.writeLiteral(String s)
Outputs a String directly to the content.
|
Modifier and Type | Method and Description |
---|---|
void |
SolidLine.draw(PdfCanvas canvas, Rectangle drawArea) |
void |
ILineDrawer.draw(PdfCanvas canvas, Rectangle drawArea)
Performs configurable drawing operations related to specific region coordinates on a canvas.
|
void |
DottedLine.draw(PdfCanvas canvas, Rectangle drawArea) |
void |
DashedLine.draw(PdfCanvas canvas, Rectangle drawArea) |
Modifier and Type | Field and Description |
---|---|
PdfCanvas |
MetaDo.cb
PdfCanvas of the MetaDo object.
|
Modifier and Type | Method and Description |
---|---|
void |
MetaState.cleanup(PdfCanvas cb)
Restres the state of the specified PdfCanvas object for as many times as there are saved states on the stack.
|
void |
MetaState.restoreState(int index, PdfCanvas cb)
Restores the state to the next state on the saved states stack.
|
void |
MetaState.saveState(PdfCanvas cb)
Saves the state of this MetaState object.
|
void |
MetaState.selectMetaObject(int index, PdfCanvas cb)
Select the MetaObject at the specified index and prepare the PdfCanvas.
|
void |
MetaState.setLineJoinPolygon(PdfCanvas cb)
Sets the line join style to PdfCanvasConstants.LineJoinStyle#ROUND if lineJoin is 0.
|
void |
MetaState.setLineJoinRectangle(PdfCanvas cb)
Sets the line join style to PdfCanvasConstants.LineJoinStyle#MITER if lineJoin isn't 0.
|
Constructor and Description |
---|
MetaDo(InputStream in, PdfCanvas cb)
Creates a MetaDo instance.
|
Modifier and Type | Field and Description |
---|---|
protected PdfCanvas |
Canvas.pdfCanvas |
Modifier and Type | Method and Description |
---|---|
PdfCanvas |
Canvas.getPdfCanvas()
Gets the PdfCanvas .
|
Constructor and Description |
---|
Canvas(PdfCanvas pdfCanvas, PdfDocument pdfDocument, Rectangle rootArea)
Creates a new Canvas to manipulate a specific document and page.
|
Canvas(PdfCanvas pdfCanvas, PdfDocument pdfDocument, Rectangle rootArea, boolean immediateFlush)
Creates a new Canvas to manipulate a specific document and page.
|
Modifier and Type | Method and Description |
---|---|
void |
SolidBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
RoundDotsBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
DoubleBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
DottedBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
DashedBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
Border3D.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
abstract void |
Border.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float borderWidthBefore, float borderWidthAfter)
All borders are supposed to be drawn in such way, that inner content of the element is on the right from the drawing direction.
|
void |
SolidBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2)
Draws the border of a cell.
|
void |
RoundDotsBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2)
Draws the border of a cell.
|
void |
DoubleBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2)
Draws the border of a cell.
|
void |
DottedBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2)
Draws the border of a cell.
|
void |
DashedBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2)
Draws the border of a cell.
|
void |
Border3D.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2)
Draws the border of a cell.
|
abstract void |
Border.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2)
Draws the border of a cell.
|
protected void |
RidgeBorder.setInnerHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the inner half of 3D Border
|
protected void |
OutsetBorder.setInnerHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the inner half of 3D Border
|
protected void |
InsetBorder.setInnerHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the inner half of 3D Border
|
protected void |
GrooveBorder.setInnerHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the inner half of 3D Border
|
protected abstract void |
Border3D.setInnerHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the inner half of 3D Border
|
protected void |
RidgeBorder.setOuterHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the outer half of 3D Border
|
protected void |
OutsetBorder.setOuterHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the outer half of 3D Border
|
protected void |
InsetBorder.setOuterHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the outer half of 3D Border
|
protected void |
GrooveBorder.setOuterHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the outer half of 3D Border
|
protected abstract void |
Border3D.setOuterHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the outer half of 3D Border
|
Modifier and Type | Method and Description |
---|---|
PdfCanvas |
DrawContext.getCanvas() |
Modifier and Type | Method and Description |
---|---|
protected void |
BlockRenderer.beginRotationIfApplied(PdfCanvas canvas) |
protected void |
TextRenderer.drawSingleUnderline(Underline underline, Color fontStrokeColor, PdfCanvas canvas, float fontSize, float italicAngleTan) |
protected void |
BlockRenderer.endRotationIfApplied(PdfCanvas canvas) |
Constructor and Description |
---|
DrawContext(PdfDocument document, PdfCanvas canvas) |
DrawContext(PdfDocument document, PdfCanvas canvas, boolean enableTagging) |
Copyright © 1998–2016 iText Group NV. All rights reserved.