Class Type3Glyph


  • public final class Type3Glyph
    extends PdfContentByte
    The content where Type3 glyphs are written to.
    • Field Detail

      • colorized

        private boolean colorized
    • Constructor Detail

      • Type3Glyph

        private Type3Glyph()
      • Type3Glyph

        Type3Glyph​(PdfWriter writer,
                   PageResources pageResources,
                   float wx,
                   float llx,
                   float lly,
                   float urx,
                   float ury,
                   boolean colorized)
    • Method Detail

      • addImage

        public void addImage​(Image image,
                             float a,
                             float b,
                             float c,
                             float d,
                             float e,
                             float f,
                             boolean inlineImage)
                      throws DocumentException
        Description copied from class: PdfContentByte
        Adds an Image to the page. The positioning of the Image is done with the transformation matrix. To position an image at (x,y) use addImage(image, image_width, 0, 0, image_height, x, y). The image can be placed inline.
        Overrides:
        addImage in class PdfContentByte
        Parameters:
        image - the Image object
        a - an element of the transformation matrix
        b - an element of the transformation matrix
        c - an element of the transformation matrix
        d - an element of the transformation matrix
        e - an element of the transformation matrix
        f - an element of the transformation matrix
        inlineImage - true to place this image inline, false otherwise
        Throws:
        DocumentException - on error
      • getDuplicate

        public PdfContentByte getDuplicate()
        Description copied from class: PdfContentByte
        Gets a duplicate of this PdfContentByte. All the members are copied by reference but the buffer stays different.
        Overrides:
        getDuplicate in class PdfContentByte
        Returns:
        a copy of this PdfContentByte