Modifier and Type | Method and Description |
---|---|
abstract Rectangle |
Barcode2D.placeBarcode(PdfCanvas canvas, Color foreground)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeDataMatrix.placeBarcode(PdfCanvas canvas, Color foreground) |
Rectangle |
BarcodePDF417.placeBarcode(PdfCanvas canvas, Color foreground) |
Rectangle |
BarcodeQRCode.placeBarcode(PdfCanvas canvas, Color foreground) |
Rectangle |
BarcodeEAN.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodePostnet.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor) |
Rectangle |
Barcode128.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 |
BarcodeEANSUPP.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 .
|
Rectangle |
BarcodeInter25.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeMSI.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 |
BarcodeDataMatrix.placeBarcode(PdfCanvas canvas, Color foreground, float moduleSide) |
Rectangle |
BarcodeQRCode.placeBarcode(PdfCanvas canvas, Color foreground, float moduleSide)
* Places the barcode in a PdfCanvas .
|
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.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.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 | Method and Description |
---|---|
static void |
DrawingUtil.drawCircle(PdfCanvas canvas, float centerX, float centerY, float radius) |
static void |
DrawingUtil.drawCross(PdfCanvas canvas, float width, float height, float borderWidth) |
static void |
DrawingUtil.drawPdfACheck(PdfCanvas canvas, float width, float height) |
static void |
DrawingUtil.drawPdfACheck(PdfCanvas canvas, float width, float height, float moveX, float moveY) |
static void |
DrawingUtil.drawPdfACircle(PdfCanvas canvas, float width, float height) |
static void |
DrawingUtil.drawPdfACircle(PdfCanvas canvas, float width, float height, float moveX, float moveY) |
static void |
DrawingUtil.drawPdfACross(PdfCanvas canvas, float width, float height) |
static void |
DrawingUtil.drawPdfACross(PdfCanvas canvas, float width, float height, float moveX, float moveY) |
static void |
DrawingUtil.drawPdfADiamond(PdfCanvas canvas, float width, float height) |
static void |
DrawingUtil.drawPdfADiamond(PdfCanvas canvas, float width, float height, float moveX, float moveY) |
static void |
DrawingUtil.drawPdfASquare(PdfCanvas canvas, float width, float height) |
static void |
DrawingUtil.drawPdfASquare(PdfCanvas canvas, float width, float height, float moveX, float moveY) |
static void |
DrawingUtil.drawPdfAStar(PdfCanvas canvas, float width, float height) |
static void |
DrawingUtil.drawPdfAStar(PdfCanvas canvas, float width, float height, float moveX, float moveY) |
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)
Adds PdfXObject on canvas.
|
PdfCanvas |
PdfCanvas.addXObject(PdfXObject xObject, float x, float y)
Deprecated.
will be removed in 7.2, use
addXObjectAt(PdfXObject, float, float) instead
|
PdfCanvas |
PdfCanvas.addXObject(PdfXObject xObject, float x, float y, float width)
Deprecated.
will be removed in 7.2, use
addXObjectFittedIntoRectangle(PdfXObject, Rectangle) (PdfXObject, Rectangle)} and PdfXObject.calculateProportionallyFitRectangleWithWidth(PdfXObject, float, float, float) instead
|
PdfCanvas |
PdfCanvas.addXObject(PdfXObject xObject, float x, float y, float height, boolean dummy)
Deprecated.
will be removed in 7.2, use
addXObjectFittedIntoRectangle(PdfXObject, Rectangle) (PdfXObject, Rectangle)} and PdfXObject.calculateProportionallyFitRectangleWithHeight(PdfXObject, float, float, float) instead
|
PdfCanvas |
PdfCanvas.addXObject(PdfXObject xObject, float a, float b, float c, float d, float e, float f)
Deprecated.
will be removed in 7.2, use
addXObjectWithTransformationMatrix(PdfXObject, float, float, float, float, float, float) instead
|
PdfCanvas |
PdfCanvas.addXObject(PdfXObject xObject, Rectangle rect)
Deprecated.
will be removed in 7.2, use
addXObjectFittedIntoRectangle(PdfXObject, Rectangle) instead
|
PdfCanvas |
PdfCanvas.addXObjectAt(PdfXObject xObject, float x, float y)
Adds PdfXObject to the specified position.
|
PdfCanvas |
PdfCanvas.addXObjectFittedIntoRectangle(PdfXObject xObject, Rectangle rect)
Adds PdfXObject fitted into specific rectangle on canvas.
|
PdfCanvas |
PdfCanvas.addXObjectWithTransformationMatrix(PdfXObject xObject, float a, float b, float c, float d, float e, float f)
Adds PdfXObject to 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 Bezier curve to the path, starting from the current point.
|
PdfCanvas |
PdfCanvas.curveTo(double x2, double y2, double x3, double y3)
Appends a Bezier 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.endPath()
Ends the path without filling or stroking it.
|
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()
Deprecated.
in favour of endPath(), which does exactly the same thing but is better named
|
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 |
PdfCanvas.setColor(PdfColorSpace colorSpace, float[] colorValue, PdfPattern pattern, boolean fill)
Changes the current color for paths with an explicitly defined pattern.
|
PdfCanvas |
PdfPatternCanvas.setColor(PdfColorSpace colorSpace, float[] colorValue, PdfPattern pattern, boolean fill) |
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(AffineTransform transform)
Replaces the text matrix.
|
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(GlyphLine text, Iterator<GlyphLine.GlyphLinePart> iterator)
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 |
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) |
void |
SolidLine.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)
Deprecated.
use
Canvas.Canvas(PdfCanvas, Rectangle) instead.
|
Canvas(PdfCanvas pdfCanvas, PdfDocument pdfDocument, Rectangle rootArea, boolean immediateFlush)
Deprecated.
use
Canvas.Canvas(PdfCanvas, Rectangle, boolean) instead.
|
Canvas(PdfCanvas pdfCanvas, Rectangle rootArea)
Creates a new Canvas to manipulate a specific content stream, which might be for example a page or PdfFormXObject stream.
|
Canvas(PdfCanvas pdfCanvas, Rectangle rootArea, boolean immediateFlush)
Creates a new Canvas to manipulate a specific document and page.
|
Modifier and Type | Method and Description |
---|---|
void |
DoubleBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide, 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 |
FixedDashedBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide, 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, Border.Side defaultSide, 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.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide, 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, Border.Side defaultSide, 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, Border.Side defaultSide, 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, Border.Side defaultSide, 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, Border.Side defaultSide, 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 |
Border.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float borderRadius, Border.Side defaultSide, 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 |
FixedDashedBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float horizontalRadius1, float verticalRadius1, float horizontalRadius2, float verticalRadius2, Border.Side defaultSide, 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 horizontalRadius1, float verticalRadius1, float horizontalRadius2, float verticalRadius2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter) |
void |
SolidBorder.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float horizontalRadius1, float verticalRadius1, float horizontalRadius2, float verticalRadius2, Border.Side defaultSide, 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 |
Border.draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float horizontalRadius1, float verticalRadius1, float horizontalRadius2, float verticalRadius2, Border.Side defaultSide, 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 horizontalRadius1, float verticalRadius1, float horizontalRadius2, float verticalRadius2, Border.Side defaultSide, 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 horizontalRadius1, float verticalRadius1, float horizontalRadius2, float verticalRadius2, Border.Side defaultSide, 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 |
Border.draw(PdfCanvas canvas, Rectangle rectangle)
Draw borders around the target rectangle.
|
void |
DoubleBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
void |
FixedDashedBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
void |
DashedBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
void |
SolidBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
abstract void |
Border.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
void |
Border3D.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
void |
DottedBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
void |
RoundDotsBorder.drawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Draws the border of a cell.
|
protected void |
Border.drawDiscontinuousBorders(PdfCanvas canvas, Rectangle boundingRectangle, float[] horizontalRadii, float[] verticalRadii, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
Perform drawing operations to draw discontinuous borders.
|
protected void |
OutsetBorder.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 void |
InsetBorder.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.setInnerHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the inner 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 |
GrooveBorder.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 abstract void |
Border3D.setOuterHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the outer half of 3D Border
|
protected void |
RidgeBorder.setOuterHalfColor(PdfCanvas canvas, Border.Side side)
Sets the fill color for the outer half of 3D Border
|
Modifier and Type | Method and Description |
---|---|
void |
TransparentColor.applyFillTransparency(PdfCanvas canvas) |
void |
TransparentColor.applyStrokeTransparency(PdfCanvas canvas) |
Modifier and Type | Method and Description |
---|---|
PdfCanvas |
DrawContext.getCanvas() |
Modifier and Type | Method and Description |
---|---|
protected void |
BlockRenderer.beginRotationIfApplied(PdfCanvas canvas) |
protected void |
AbstractRenderer.beginTransformationIfApplied(PdfCanvas canvas) |
protected void |
TextRenderer.drawSingleUnderline(Underline underline, TransparentColor fontStrokeColor, PdfCanvas canvas, float fontSize, float italicAngleTan) |
protected void |
BlockRenderer.endRotationIfApplied(PdfCanvas canvas) |
protected void |
AbstractRenderer.endTransformationIfApplied(PdfCanvas canvas) |
Constructor and Description |
---|
DrawContext(PdfDocument document, PdfCanvas canvas) |
DrawContext(PdfDocument document, PdfCanvas canvas, boolean enableTagging) |
Modifier and Type | Method and Description |
---|---|
static void |
SvgConverter.drawOnCanvas(InputStream stream, PdfCanvas canvas)
Draws a Stream containing valid SVG to a pre-made canvas object.
|
static void |
SvgConverter.drawOnCanvas(InputStream stream, PdfCanvas canvas, float x, float y)
Draws a Stream containing valid SVG to a pre-made canvas object, to a specified location.
|
static void |
SvgConverter.drawOnCanvas(InputStream stream, PdfCanvas canvas, float x, float y, ISvgConverterProperties props)
Draws a String containing valid SVG to a pre-made canvas object, at a specified position on the canvas.
|
static void |
SvgConverter.drawOnCanvas(InputStream stream, PdfCanvas canvas, ISvgConverterProperties props)
Draws a Stream containing valid SVG to a pre-made canvas object.
|
static void |
SvgConverter.drawOnCanvas(String content, PdfCanvas canvas)
Draws a String containing valid SVG to a pre-made canvas object.
|
static void |
SvgConverter.drawOnCanvas(String content, PdfCanvas canvas, float x, float y)
Draws a String containing valid SVG to a pre-made canvas object.
|
static void |
SvgConverter.drawOnCanvas(String content, PdfCanvas canvas, float x, float y, ISvgConverterProperties props)
draws a String containing valid SVG to a pre-made canvas object, at a specified location.
|
static void |
SvgConverter.drawOnCanvas(String content, PdfCanvas canvas, ISvgConverterProperties props)
Draws a String containing valid SVG to a pre-made canvas object.
|
Modifier and Type | Method and Description |
---|---|
PdfCanvas |
SvgDrawContext.getCurrentCanvas()
Retrieves the current top of the stack, without modifying the stack.
|
PdfCanvas |
SvgDrawContext.popCanvas()
Retrieves the current top of the stack, thereby taking the current item off the stack.
|
Modifier and Type | Method and Description |
---|---|
void |
SvgDrawContext.pushCanvas(PdfCanvas canvas)
Adds a PdfCanvas to the stack (by definition its top), for use in drawing operations.
|
Modifier and Type | Method and Description |
---|---|
void |
IPathShape.draw(PdfCanvas canvas)
Draws this instruction to a canvas object.
|
Modifier and Type | Method and Description |
---|---|
void |
CurveTo.draw(PdfCanvas canvas) |
void |
QuadraticCurveTo.draw(PdfCanvas canvas)
Draws a quadratic Bezier curve from the current point to (x,y) using (x1,y1) as the control point
|
void |
ClosePath.draw(PdfCanvas canvas) |
void |
MoveTo.draw(PdfCanvas canvas) |
void |
LineTo.draw(PdfCanvas canvas) |
void |
EllipticalCurveTo.draw(PdfCanvas canvas) |
Modifier and Type | Method and Description |
---|---|
static void |
DrawUtils.arc(double x1, double y1, double x2, double y2, double startAng, double extent, PdfCanvas cv)
Draw an arc on the passed canvas, enclosed by the rectangle for which two opposite corners are specified.
|
static void |
DrawUtils.arc(float x1, float y1, float x2, float y2, float startAng, float extent, PdfCanvas cv)
Deprecated.
In
PdfCanvas most of the path drawing methods accept double . So it is preferable to use DrawUtils.arc(double, double, double, double, double, double, PdfCanvas) . This method will be removed in iText 7.2
|
Copyright © 1998–2021 iText Group NV. All rights reserved.