class Type3Glyph extends PdfContentByte {

    private PageResources pageResources;
    private boolean colorized;

    private Type3Glyph() {
        super(null);
    }

    Type3Glyph(PdfWriter writer, PageResources pageResources, float wx, float llx, float lly, float urx, float ury,
            boolean colorized) {
        super(writer);
        this.pageResources = pageResources;
        this.colorized = colorized;
        if (colorized) {
            content.append(wx).append(" 0 d0\n");
        } else {
            content.append(wx).append(" 0 ").append(llx).append(' ').append(lly).append(' ').append(urx).append(' ')
                    .append(ury).append(" d1\n");
        }
    }

    PageResources getPageResources() {
        return pageResources;
    }

    public void addImage(Image image, float a, float b, float c, float d, float e, float f, boolean inlineImage)
            throws DocumentException {<FILL_FUNCTION_BODY>}

    public PdfContentByte getDuplicate() {
        Type3Glyph dup = new Type3Glyph();
        dup.writer = writer;
        dup.pdf = pdf;
        dup.pageResources = pageResources;
        dup.colorized = colorized;
        return dup;
    }

}

        if (!colorized && (!image.isMask() || !(image.getBpc() == 1 || image.getBpc() > 0xff))) {
            throw new DocumentException(
                    MessageLocalization.getComposedMessage("not.colorized.typed3.fonts.only.accept.mask.images"));
        }
        super.addImage(image, a, b, c, d, e, f, inlineImage);
    
<methods>public void <init>(com.lowagie.text.pdf.PdfWriter) ,public void add(com.lowagie.text.pdf.PdfContentByte) ,public void addImage(com.lowagie.text.Image) throws com.lowagie.text.DocumentException,public void addImage(com.lowagie.text.Image, boolean) throws com.lowagie.text.DocumentException,public void addImage(com.lowagie.text.Image, float, float, float, float, float, float) throws com.lowagie.text.DocumentException,public void addImage(com.lowagie.text.Image, float, float, float, float, float, float, boolean) throws com.lowagie.text.DocumentException,public void addOutline(com.lowagie.text.pdf.PdfOutline, java.lang.String) ,public void addPSXObject(com.lowagie.text.pdf.PdfPSXObject) ,public void addTemplate(com.lowagie.text.pdf.PdfTemplate, float, float, float, float, float, float) ,public void addTemplate(com.lowagie.text.pdf.PdfTemplate, float, float) ,public void addTemplate(com.lowagie.text.pdf.PdfTemplate, double, double, double, double, double, double) ,public void arc(float, float, float, float, float, float) ,public void beginLayer(com.lowagie.text.pdf.PdfOCG) ,public void beginMarkedContentSequence(com.lowagie.text.pdf.PdfStructureElement) ,public void beginMarkedContentSequence(com.lowagie.text.pdf.PdfStructureElement, com.lowagie.text.pdf.PdfDictionary) ,public void beginMarkedContentSequence(com.lowagie.text.pdf.PdfName, com.lowagie.text.pdf.PdfDictionary, boolean) ,public void beginMarkedContentSequence(com.lowagie.text.pdf.PdfName) ,public void beginText() ,public static List<float[]> bezierArc(float, float, float, float, float, float) ,public void circle(float, float, float) ,public void clip() ,public void closePath() ,public void closePathEoFillStroke() ,public void closePathFillStroke() ,public void closePathStroke() ,public void concatCTM(float, float, float, float, float, float) ,public com.lowagie.text.pdf.PdfAppearance createAppearance(float, float) ,public java.awt.Graphics2D createGraphics(float, float) ,public java.awt.Graphics2D createGraphics(float, float, boolean, float) ,public java.awt.Graphics2D createGraphics(float, float, com.lowagie.text.pdf.FontMapper) ,public java.awt.Graphics2D createGraphics(float, float, com.lowagie.text.pdf.FontMapper, boolean, float) ,public java.awt.Graphics2D createGraphicsShapes(float, float) ,public java.awt.Graphics2D createGraphicsShapes(float, float, boolean, float) ,public com.lowagie.text.pdf.PdfPatternPainter createPattern(float, float, float, float) ,public com.lowagie.text.pdf.PdfPatternPainter createPattern(float, float) ,public com.lowagie.text.pdf.PdfPatternPainter createPattern(float, float, float, float, java.awt.Color) ,public com.lowagie.text.pdf.PdfPatternPainter createPattern(float, float, java.awt.Color) ,public java.awt.Graphics2D createPrinterGraphics(float, float, java.awt.print.PrinterJob) ,public java.awt.Graphics2D createPrinterGraphics(float, float, boolean, float, java.awt.print.PrinterJob) ,public java.awt.Graphics2D createPrinterGraphics(float, float, com.lowagie.text.pdf.FontMapper, java.awt.print.PrinterJob) ,public java.awt.Graphics2D createPrinterGraphics(float, float, com.lowagie.text.pdf.FontMapper, boolean, float, java.awt.print.PrinterJob) ,public java.awt.Graphics2D createPrinterGraphicsShapes(float, float, java.awt.print.PrinterJob) ,public java.awt.Graphics2D createPrinterGraphicsShapes(float, float, boolean, float, java.awt.print.PrinterJob) ,public com.lowagie.text.pdf.PdfTemplate createTemplate(float, float) ,public void curveFromTo(float, float, float, float) ,public void curveTo(float, float, float, float, float, float) ,public void curveTo(float, float, float, float) ,public void drawButton(float, float, float, float, java.lang.String, com.lowagie.text.pdf.BaseFont, float) ,public void drawRadioField(float, float, float, float, boolean) ,public void drawTextField(float, float, float, float) ,public void ellipse(float, float, float, float) ,public void endLayer() ,public void endMarkedContentSequence() ,public void endText() ,public void eoClip() ,public void eoFill() ,public void eoFillStroke() ,public void fill() ,public void fillStroke() ,public float getCharacterSpacing() ,public com.lowagie.text.pdf.PdfContentByte getDuplicate() ,public float getEffectiveStringWidth(java.lang.String, boolean) ,public float getHorizontalScaling() ,public com.lowagie.text.pdf.ByteBuffer getInternalBuffer() ,public static com.lowagie.text.pdf.PdfTextArray getKernArray(java.lang.String, com.lowagie.text.pdf.BaseFont) ,public float getLeading() ,public com.lowagie.text.pdf.PdfDocument getPdfDocument() ,public com.lowagie.text.pdf.PdfWriter getPdfWriter() ,public com.lowagie.text.pdf.PdfOutline getRootOutline() ,public float getWordSpacing() ,public float getXTLM() ,public float getYTLM() ,public void lineTo(float, float) ,public boolean localDestination(java.lang.String, com.lowagie.text.pdf.PdfDestination) ,public void localGoto(java.lang.String, float, float, float, float) ,public void moveText(float, float) ,public void moveTextWithLeading(float, float) ,public void moveTo(float, float) ,public void newPath() ,public void newlineShowText(java.lang.String) ,public void newlineShowText(float, float, java.lang.String) ,public void newlineText() ,public void paintShading(com.lowagie.text.pdf.PdfShading) ,public void paintShading(com.lowagie.text.pdf.PdfShadingPattern) ,public void rectangle(float, float, float, float) ,public void rectangle(com.lowagie.text.Rectangle) ,public void remoteGoto(java.lang.String, java.lang.String, float, float, float, float) ,public void remoteGoto(java.lang.String, int, float, float, float, float) ,public void reset() ,public void reset(boolean) ,public void resetCMYKColorFill() ,public void resetCMYKColorStroke() ,public void resetGrayFill() ,public void resetGrayStroke() ,public void resetRGBColorFill() ,public void resetRGBColorStroke() ,public void restoreState() ,public void roundRectangle(float, float, float, float, float) ,public void sanityCheck() ,public void saveState() ,public void setAction(com.lowagie.text.pdf.PdfAction, float, float, float, float) ,public void setCMYKColorFill(int, int, int, int) ,public void setCMYKColorFillF(float, float, float, float) ,public void setCMYKColorFillF(float, float, float, float, float) ,public void setCMYKColorStroke(int, int, int, int) ,public void setCMYKColorStrokeF(float, float, float, float) ,public void setCMYKColorStrokeF(float, float, float, float, float) ,public void setCharacterSpacing(float) ,public void setColorFill(java.awt.Color) ,public void setColorFill(com.lowagie.text.pdf.PdfSpotColor, float) ,public void setColorStroke(java.awt.Color) ,public void setColorStroke(com.lowagie.text.pdf.PdfSpotColor, float) ,public void setDefaultColorspace(com.lowagie.text.pdf.PdfName, com.lowagie.text.pdf.PdfObject) ,public void setFlatness(float) ,public void setFontAndSize(com.lowagie.text.pdf.BaseFont, float) ,public void setGState(com.lowagie.text.pdf.PdfGState) ,public void setGrayFill(float) ,public void setGrayFill(float, float) ,public void setGrayStroke(float) ,public void setGrayStroke(float, float) ,public void setHorizontalScaling(float) ,public void setLeading(float) ,public void setLineCap(int) ,public void setLineDash(float) ,public void setLineDash(float, float) ,public void setLineDash(float, float, float) ,public final void setLineDash(float[], float) ,public void setLineJoin(int) ,public void setLineWidth(float) ,public void setLiteral(java.lang.String) ,public void setLiteral(char) ,public void setLiteral(float) ,public void setMiterLimit(float) ,public void setPatternFill(com.lowagie.text.pdf.PdfPatternPainter) ,public void setPatternFill(com.lowagie.text.pdf.PdfPatternPainter, java.awt.Color) ,public void setPatternFill(com.lowagie.text.pdf.PdfPatternPainter, java.awt.Color, float) ,public void setPatternStroke(com.lowagie.text.pdf.PdfPatternPainter, java.awt.Color) ,public void setPatternStroke(com.lowagie.text.pdf.PdfPatternPainter, java.awt.Color, float) ,public void setPatternStroke(com.lowagie.text.pdf.PdfPatternPainter) ,public void setRGBColorFill(int, int, int) ,public void setRGBColorFill(int, int, int, int) ,public void setRGBColorFillF(float, float, float) ,public void setRGBColorFillF(float, float, float, float) ,public void setRGBColorStroke(int, int, int) ,public void setRGBColorStroke(int, int, int, int) ,public void setRGBColorStrokeF(float, float, float) ,public void setShadingFill(com.lowagie.text.pdf.PdfShadingPattern) ,public void setShadingStroke(com.lowagie.text.pdf.PdfShadingPattern) ,public void setTextMatrix(float, float, float, float, float, float) ,public void setTextMatrix(float, float) ,public void setTextRenderingMode(int) ,public void setTextRise(float) ,public void setWordSpacing(float) ,public void showText(java.lang.String) ,public void showText(java.awt.font.GlyphVector) ,public void showText(java.awt.font.GlyphVector, int, int) ,public void showText(com.lowagie.text.pdf.PdfGlyphArray) ,public void showText(com.lowagie.text.pdf.PdfTextArray) ,public void showTextAligned(int, java.lang.String, float, float, float) ,public void showTextAlignedKerned(int, java.lang.String, float, float, float) ,public void showTextBasic(java.lang.String) ,public void showTextKerned(java.lang.String) ,public void stroke() ,public byte[] toPdf(com.lowagie.text.pdf.PdfWriter) ,public java.lang.String toString() ,public void transform(java.awt.geom.AffineTransform) ,public void variableRectangle(com.lowagie.text.Rectangle) <variables>public static final int ALIGN_CENTER,public static final int ALIGN_LEFT,public static final int ALIGN_RIGHT,public static final int LINE_CAP_BUTT,public static final int LINE_CAP_PROJECTING_SQUARE,public static final int LINE_CAP_ROUND,public static final int LINE_JOIN_BEVEL,public static final int LINE_JOIN_MITER,public static final int LINE_JOIN_ROUND,static final float MIN_FONT_SIZE,public static final int TEXT_RENDER_MODE_CLIP,public static final int TEXT_RENDER_MODE_FILL,public static final int TEXT_RENDER_MODE_FILL_CLIP,public static final int TEXT_RENDER_MODE_FILL_STROKE,public static final int TEXT_RENDER_MODE_FILL_STROKE_CLIP,public static final int TEXT_RENDER_MODE_INVISIBLE,public static final int TEXT_RENDER_MODE_STROKE,public static final int TEXT_RENDER_MODE_STROKE_CLIP,private static final Map<com.lowagie.text.pdf.PdfName,java.lang.String> abrev,protected com.lowagie.text.pdf.ByteBuffer content,private boolean inText,private int lastFillAlpha,private int lastStrokeAlpha,protected List<java.lang.Integer> layerDepth,private java.awt.geom.Point2D layoutPositionCorrection,private int mcDepth,protected com.lowagie.text.pdf.PdfDocument pdf,protected int separator,protected com.lowagie.text.pdf.PdfContentByte.GraphicState state,protected List<com.lowagie.text.pdf.PdfContentByte.GraphicState> stateList,private static final float[] unitRect,protected com.lowagie.text.pdf.PdfWriter writer