Uses of Class
com.itextpdf.kernel.pdf.canvas.PdfCanvas
Package
Description
-
Uses of PdfCanvas in com.itextpdf.barcodes
Modifier and TypeMethodDescriptionBarcode128.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.abstract Rectangle
Barcode1D.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.abstract Rectangle
Barcode2D.placeBarcode
(PdfCanvas canvas, Color foreground) Places the barcode in aPdfCanvas
.Barcode39.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodeCodabar.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodeDataMatrix.placeBarcode
(PdfCanvas canvas, Color foreground) BarcodeDataMatrix.placeBarcode
(PdfCanvas canvas, Color foreground, float moduleSide) BarcodeEAN.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodeEANSUPP.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodeInter25.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodeMSI.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodePDF417.placeBarcode
(PdfCanvas canvas, Color foreground) BarcodePDF417.placeBarcode
(PdfCanvas canvas, Color foreground, float moduleWidth, float moduleHeight) BarcodePostnet.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) BarcodeQRCode.placeBarcode
(PdfCanvas canvas, Color foreground) BarcodeQRCode.placeBarcode
(PdfCanvas canvas, Color foreground, float moduleSide) * Places the barcode in aPdfCanvas
. -
Uses of PdfCanvas in com.itextpdf.forms.fields
Modifier and TypeMethodDescriptionprotected void
PdfFormAnnotation.drawBorder
(PdfCanvas canvas, PdfFormXObject xObject, float width, float height) Draws a border using the borderWidth and borderColor of the form field. -
Uses of PdfCanvas in com.itextpdf.forms.util
Modifier and TypeMethodDescriptionstatic void
DrawingUtil.drawCircle
(PdfCanvas canvas, float centerX, float centerY, float radius) Draws a circle with the specified radius.static void
Draws a cross with the specified width and height.static void
DrawingUtil.drawPdfACheck
(PdfCanvas canvas, float width, float height) Draws a PDF A compliant check mark in the specified rectangle.static void
DrawingUtil.drawPdfACheck
(PdfCanvas canvas, float width, float height, float moveX, float moveY) Draws a PDF A compliant check mark in the specified rectangle.static void
DrawingUtil.drawPdfACircle
(PdfCanvas canvas, float width, float height) Draws a PDF A compliant circle in the specified rectangle.static void
DrawingUtil.drawPdfACircle
(PdfCanvas canvas, float width, float height, float moveX, float moveY) Draws a PDF A compliant circle in the specified rectangle.static void
DrawingUtil.drawPdfACross
(PdfCanvas canvas, float width, float height) Draws a PDF A compliant cross in the specified rectangle.static void
DrawingUtil.drawPdfACross
(PdfCanvas canvas, float width, float height, float moveX, float moveY) Draws a PDF A compliant cross in the specified rectangle.static void
DrawingUtil.drawPdfADiamond
(PdfCanvas canvas, float width, float height) Draws a PDF A compliant diamond in the specified rectangle.static void
DrawingUtil.drawPdfADiamond
(PdfCanvas canvas, float width, float height, float moveX, float moveY) Draws a PDF A compliant diamond in the specified rectangle.static void
DrawingUtil.drawPdfASquare
(PdfCanvas canvas, float width, float height) Draws a PDF A compliant square in the specified rectangle.static void
DrawingUtil.drawPdfASquare
(PdfCanvas canvas, float width, float height, float moveX, float moveY) Draws a PDF A compliant square in the specified rectangle.static void
DrawingUtil.drawPdfAStar
(PdfCanvas canvas, float width, float height) Draws a PDF A compliant star in the specified rectangle.static void
DrawingUtil.drawPdfAStar
(PdfCanvas canvas, float width, float height, float moveX, float moveY) Draws a PDF A compliant star in the specified rectangle. -
Uses of PdfCanvas in com.itextpdf.kernel.font
Modifier and TypeClassDescriptionfinal class
The content where Type3 glyphs are written to. -
Uses of PdfCanvas in com.itextpdf.kernel.pdf.canvas
Modifier and TypeClassDescriptionclass
A PdfCanvas instance with an inherent tiling pattern.Modifier and TypeMethodDescriptionPdfCanvas.addXObject
(PdfXObject xObject) AddsPdfXObject
on canvas.PdfCanvas.addXObjectAt
(PdfXObject xObject, float x, float y) AddsPdfXObject
to the specified position.PdfCanvas.addXObjectFittedIntoRectangle
(PdfXObject xObject, Rectangle rect) AddsPdfXObject
fitted into specific rectangle on canvas.PdfCanvas.addXObjectWithTransformationMatrix
(PdfXObject xObject, float a, float b, float c, float d, float e, float f) AddsPdfXObject
to canvas.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.arcContinuous
(double x1, double y1, double x2, double y2, double startAng, double extent) Draws a partial ellipse with the preceding line to the start of the arc to prevent path broking.PdfCanvas.beginLayer
(IPdfOCG layer) Begins a graphic block whose visibility is controlled by thelayer
.PdfCanvas.beginMarkedContent
(PdfName tag) Manually start a Marked Content sequence.PdfCanvas.beginMarkedContent
(PdfName tag, PdfDictionary properties) Manually start a Marked Content sequence with properties.PdfCanvas.beginText()
Begins text block (PDF BT operator).PdfCanvas.beginVariableText()
Begins variable text blockPdfCanvas.circle
(double x, double y, double r) Draws a circle.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.closePath()
Closes the current subpath by appending a straight line segment from the current point to the starting point of the subpath.PdfCanvas.closePathEoFillStroke()
Closes the path, fills it using the even-odd rule to determine the region to fill and strokes it.PdfCanvas.closePathFillStroke()
Closes the path, fills it using the non-zero winding number rule to determine the region to fill and strokes it.PdfCanvas.closePathStroke()
Closes the path and strokes it.PdfCanvas.closeTag()
Manually close a tag, ending a Marked Content sequence.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.concatMatrix
(AffineTransform transform) Concatenates the affine transformation matrix to the current matrix in the content stream managed by this Canvas.PdfCanvas.concatMatrix
(PdfArray array) Concatenates the 2x3 affine transformation matrix to the current matrix in the content stream managed by this Canvas.PdfCanvas.curveFromTo
(double x1, double y1, double x3, double y3) Appends a Bezier curve to the path, starting from the current point.PdfCanvas.curveTo
(double x2, double y2, double x3, double y3) Appends a Bezier curve to the path, starting from the current point.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.ellipse
(double x1, double y1, double x2, double y2) Draws an ellipse inscribed within the rectangle x1,y1,x2,y2.PdfCanvas.endLayer()
Ends OCG layer.PdfCanvas.endMarkedContent()
Manually end a Marked Content sequence.PdfCanvas.endPath()
Ends the path without filling or stroking it.PdfCanvas.endText()
Ends text block (PDF ET operator).PdfCanvas.endVariableText()
Ends variable text blockPdfCanvas.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.eoFill()
EOFills current path.PdfCanvas.eoFillStroke()
Fills the path, using the even-odd rule to determine the region to fill and strokes it.PdfCanvas.fill()
Fills current path.PdfCanvas.fillStroke()
Fills the path using the non-zero winding number rule to determine the region to fill and strokes it.PdfCanvas.lineTo
(double x, double y) Appends a straight line segment from the current point (x, y).PdfCanvas.moveText
(double x, double y) Moves text by shifting text line matrix (PDF Td operator).PdfCanvas.moveTextWithLeading
(float x, float y) Moves to the start of the next line, offset from the start of the current line.PdfCanvas.moveTo
(double x, double y) Move the current point (x, y), omitting any connecting line segment.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.newlineShowText
(String text) Moves to the next line and showstext
.PdfCanvas.newlineText()
Moves to the start of the next line.Manually open a canvas tag, beginning a Marked Content sequence.PdfCanvas.openTag
(TagReference tagReference) Open a tag, beginning a Marked Content sequence.PdfCanvas.paintShading
(PdfShading shading) Paints a shading object and adds it to the resources of this canvasPdfCanvas.rectangle
(double x, double y, double width, double height) Draws a rectangle.Draws a rectangle.PdfCanvas.resetFillColorCmyk()
Changes the current color for filling paths to black.PdfCanvas.resetFillColorGray()
Changes the current color for filling paths to black.PdfCanvas.resetFillColorRgb()
Changes the current color for filling paths to black.PdfCanvas.resetStrokeColorCmyk()
Changes the current color for stroking paths to black.PdfCanvas.resetStrokeColorGray()
Changes the current color for stroking paths to black.PdfCanvas.resetStrokeColorRgb()
Changes the current color for stroking paths to black.PdfCanvas.restoreState()
Restores graphics state.PdfCanvas.roundRectangle
(double x, double y, double width, double height, double radius) Draws rounded rectangle.PdfCanvas.saveState()
Saves graphics state.PdfCanvas.setCharacterSpacing
(float charSpacing) Sets the character spacing parameter.Changes the current color for paths.PdfCanvas.setColor
(PdfColorSpace colorSpace, float[] colorValue, boolean fill) Changes the current color for paths.PdfCanvas.setColor
(PdfColorSpace colorSpace, float[] colorValue, PdfPattern pattern, boolean fill) Changes the current color for paths with an explicitly defined pattern.PdfPatternCanvas.setColor
(PdfColorSpace colorSpace, float[] colorValue, PdfPattern pattern, boolean fill) PdfCanvas.setExtGState
(PdfExtGState extGState) Sets the ExtGState dictionary for the current graphics statePdfCanvas.setFillColor
(Color color) Changes the current color for filling paths.PdfCanvas.setFillColorCmyk
(float c, float m, float y, float k) Changes the current color for filling paths to a CMYK value.PdfCanvas.setFillColorGray
(float g) Changes the current color for filling paths to a grayscale value.PdfCanvas.setFillColorRgb
(float r, float g, float b) Changes the current color for filling paths to an RGB value.PdfCanvas.setFillColorShading
(PdfPattern.Shading shading) Adds or changes the shading of the current fill color path.PdfCanvas.setFlatnessTolerance
(float flatnessTolerance) Changes the Flatness.PdfCanvas.setFontAndSize
(PdfFont font, float size) Sets font and size (PDF Tf operator).PdfCanvas.setHorizontalScaling
(float scale) Sets the horizontal scaling parameter.PdfCanvas.setLeading
(float leading) Sets the text leading parameter.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.setLineDash
(float phase) Changes the value of the line dash pattern.PdfCanvas.setLineDash
(float[] array, float phase) Changes the value of the line dash pattern.PdfCanvas.setLineDash
(float unitsOn, float phase) Changes the value of the line dash pattern.PdfCanvas.setLineDash
(float unitsOn, float unitsOff, float phase) Changes the value of the line dash pattern.PdfCanvas.setLineJoinStyle
(int lineJoinStyle) Sets the line join style, the shape to be used at the corners of paths when they are stroked.PdfCanvas.setLineWidth
(float lineWidth) Sets line width.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.setRenderingIntent
(PdfName renderingIntent) Set the rendering intent.PdfCanvas.setStrokeColor
(Color color) Changes the current color for stroking paths.PdfCanvas.setStrokeColorCmyk
(float c, float m, float y, float k) Changes the current color for stroking paths to a CMYK value.PdfCanvas.setStrokeColorGray
(float g) Changes the current color for stroking paths to a grayscale value.PdfCanvas.setStrokeColorRgb
(float r, float g, float b) Changes the current color for stroking paths to an RGB value.PdfCanvas.setStrokeColorShading
(PdfPattern.Shading shading) Adds or changes the shading of the current stroke color path.PdfCanvas.setTextMatrix
(float x, float y) Changes the text matrix.PdfCanvas.setTextMatrix
(float a, float b, float c, float d, float x, float y) Replaces the text matrix.PdfCanvas.setTextMatrix
(AffineTransform transform) Replaces the text matrix.PdfCanvas.setTextRenderingMode
(int textRenderingMode) Sets text rendering mode.PdfCanvas.setTextRise
(float textRise) Sets the text rise parameter.PdfCanvas.setWordSpacing
(float wordSpacing) Sets the word spacing parameter.Shows text (operator Tj).PdfCanvas.showText
(GlyphLine text, Iterator<GlyphLine.GlyphLinePart> iterator) Shows text (operator Tj).Shows text (operator TJ)Shows text (operator Tj).PdfCanvas.stroke()
Strokes the path.PdfCanvas.writeLiteral
(char c) Outputs achar
directly to the content.PdfCanvas.writeLiteral
(float n) Outputs afloat
directly to the content.PdfCanvas.writeLiteral
(String s) Outputs aString
directly to the content. -
Uses of PdfCanvas in com.itextpdf.kernel.pdf.canvas.draw
Modifier and TypeMethodDescriptionvoid
void
void
Performs configurable drawing operations related to specific region coordinates on a canvas.void
-
Uses of PdfCanvas in com.itextpdf.kernel.pdf.canvas.wmf
Modifier and TypeMethodDescriptionvoid
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
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 toPdfCanvasConstants.LineJoinStyle.ROUND
if lineJoin is 0.void
MetaState.setLineJoinRectangle
(PdfCanvas cb) Sets the line join style toPdfCanvasConstants.LineJoinStyle.MITER
if lineJoin isn't 0. -
Uses of PdfCanvas in com.itextpdf.kernel.utils.annotationsflattening
Modifier and TypeMethodDescriptionprotected PdfCanvas
DefaultAnnotationFlattener.createCanvas
(PdfPage page) Creates a canvas.protected PdfCanvas
HighLightTextMarkupAnnotationFlattener.createCanvas
(PdfPage page) Creates a canvas. -
Uses of PdfCanvas in com.itextpdf.layout
ModifierConstructorDescriptionCreates a new Canvas to manipulate a specific content stream, which might be for example a page orPdfFormXObject
stream.Creates a new Canvas to manipulate a specific document and page. -
Uses of PdfCanvas in com.itextpdf.layout.borders
Modifier and TypeMethodDescriptionvoid
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
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.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
Draw borders around the target rectangle.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
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
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
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
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
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, 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
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
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
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
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
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.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
DashedBorder.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
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
RoundDotsBorder.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.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 abstract void
Border3D.setInnerHalfColor
(PdfCanvas canvas, Border.Side side) Sets the fill color for the inner half of3D Border
protected void
GrooveBorder.setInnerHalfColor
(PdfCanvas canvas, Border.Side side) Sets the fill color for the inner half of3D Border
protected void
InsetBorder.setInnerHalfColor
(PdfCanvas canvas, Border.Side side) Sets the fill color for the inner half of3D Border
protected void
OutsetBorder.setInnerHalfColor
(PdfCanvas canvas, Border.Side side) Sets the fill color for the inner half of3D Border
protected void
RidgeBorder.setInnerHalfColor
(PdfCanvas canvas, Border.Side side) Sets the fill color for the inner half of3D Border
protected abstract void
Border3D.setOuterHalfColor
(PdfCanvas canvas, Border.Side side) Sets the fill color for the outer half of3D Border
protected void
GrooveBorder.setOuterHalfColor
(PdfCanvas canvas, Border.Side side) Sets the fill color for the outer half of3D Border
protected void
InsetBorder.setOuterHalfColor
(PdfCanvas canvas, Border.Side side) Sets the fill color for the outer half of3D Border
protected void
OutsetBorder.setOuterHalfColor
(PdfCanvas canvas, Border.Side side) Sets the fill color for the outer half of3D Border
protected void
RidgeBorder.setOuterHalfColor
(PdfCanvas canvas, Border.Side side) Sets the fill color for the outer half of3D Border
-
Uses of PdfCanvas in com.itextpdf.layout.properties
Modifier and TypeMethodDescriptionvoid
TransparentColor.applyFillTransparency
(PdfCanvas canvas) Sets the opacity value for non-stroking operations in the transparent imaging model.void
TransparentColor.applyStrokeTransparency
(PdfCanvas canvas) Sets the opacity value for stroking operations in the transparent imaging model. -
Uses of PdfCanvas in com.itextpdf.layout.renderer
Modifier and TypeMethodDescriptionprotected void
BlockRenderer.beginRotationIfApplied
(PdfCanvas canvas) This method starts rotation for the renderer if rotation angle property is specified.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) This method ends rotation for the renderer if applied.protected void
AbstractRenderer.endTransformationIfApplied
(PdfCanvas canvas) ModifierConstructorDescriptionDrawContext
(PdfDocument document, PdfCanvas canvas) DrawContext
(PdfDocument document, PdfCanvas canvas, boolean enableTagging) -
Uses of PdfCanvas in com.itextpdf.svg.converter
Modifier and TypeMethodDescriptionstatic 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. -
Uses of PdfCanvas in com.itextpdf.svg.renderers
Modifier and TypeMethodDescriptionSvgDrawContext.getCurrentCanvas()
Retrieves the current top of the stack, without modifying the stack.SvgDrawContext.popCanvas()
Retrieves the current top of the stack, thereby taking the current item off the stack.Modifier and TypeMethodDescriptionvoid
SvgDrawContext.pushCanvas
(PdfCanvas canvas) Adds aPdfCanvas
to the stack (by definition its top), for use in drawing operations. -
Uses of PdfCanvas in com.itextpdf.svg.renderers.path
-
Uses of PdfCanvas in com.itextpdf.svg.renderers.path.impl
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
Draws a quadratic Bezier curve from the current point to (x,y) using (x1,y1) as the control point -
Uses of PdfCanvas in com.itextpdf.svg.utils