| java.lang.Object com.lowagie.text.pdf.PdfContentByte com.lowagie.text.pdf.PdfTemplate com.lowagie.text.pdf.PdfPatternPainter
PdfPatternPainter | public class PdfPatternPainter extends PdfTemplate (Code) | | Implements the pattern.
|
Method Summary | |
public void | addImage(Image image, float a, float b, float c, float d, float e, float f) | void | checkNoColor() | public Color | getDefaultColor() Returns the default color of the pattern. | public PdfContentByte | getDuplicate() Gets a duplicate of this PdfPatternPainter . | PdfPattern | getPattern() | public float | getXStep() Returns the horizontal interval when repeating the pattern. | public float | getYStep() Returns the vertical interval when repeating the pattern. | public boolean | isStencil() Tells you if this pattern is colored/uncolored (stencil = uncolored, you need to set a default color). | public void | resetCMYKColorFill() | public void | resetCMYKColorStroke() | public void | resetGrayFill() | public void | resetGrayStroke() | public void | resetRGBColorFill() | public void | resetRGBColorStroke() | public void | setCMYKColorFill(int cyan, int magenta, int yellow, int black) | public void | setCMYKColorFillF(float cyan, float magenta, float yellow, float black) | public void | setCMYKColorStroke(int cyan, int magenta, int yellow, int black) | public void | setCMYKColorStrokeF(float cyan, float magenta, float yellow, float black) | public void | setColorFill(Color color) | public void | setColorFill(PdfSpotColor sp, float tint) | public void | setColorStroke(Color color) | public void | setColorStroke(PdfSpotColor sp, float tint) | public void | setGrayFill(float gray) | public void | setGrayStroke(float gray) | public void | setPatternFill(PdfPatternPainter p) | public void | setPatternFill(PdfPatternPainter p, Color color, float tint) | public void | setPatternMatrix(float a, float b, float c, float d, float e, float f) Sets the transformation matrix for the pattern. | public void | setPatternStroke(PdfPatternPainter p, Color color, float tint) | public void | setPatternStroke(PdfPatternPainter p) | public void | setRGBColorFill(int red, int green, int blue) | public void | setRGBColorFillF(float red, float green, float blue) | public void | setRGBColorStroke(int red, int green, int blue) | public void | setRGBColorStrokeF(float red, float green, float blue) | public void | setXStep(float xstep) Sets the horizontal interval of this pattern. | public void | setYStep(float ystep) Sets the vertical interval of this pattern. |
stencil | protected boolean stencil(Code) | | |
xstepystep | protected float xstepystep(Code) | | |
PdfPatternPainter | PdfPatternPainter(PdfWriter wr)(Code) | | Creates new PdfPattern
Parameters: wr - the PdfWriter |
checkNoColor | void checkNoColor()(Code) | | |
getDefaultColor | public Color getDefaultColor()(Code) | | Returns the default color of the pattern.
a Color |
getDuplicate | public PdfContentByte getDuplicate()(Code) | | Gets a duplicate of this PdfPatternPainter . All
the members are copied by reference but the buffer stays different.
a copy of this PdfPatternPainter |
getPattern | PdfPattern getPattern()(Code) | | Gets the stream representing this pattern
the stream representing this pattern |
getXStep | public float getXStep()(Code) | | Returns the horizontal interval when repeating the pattern.
a value |
getYStep | public float getYStep()(Code) | | Returns the vertical interval when repeating the pattern.
a value |
isStencil | public boolean isStencil()(Code) | | Tells you if this pattern is colored/uncolored (stencil = uncolored, you need to set a default color).
true if the pattern is an uncolored tiling pattern (stencil). |
setPatternMatrix | public void setPatternMatrix(float a, float b, float c, float d, float e, float f)(Code) | | Sets the transformation matrix for the pattern.
Parameters: a - Parameters: b - Parameters: c - Parameters: d - Parameters: e - Parameters: f - |
setXStep | public void setXStep(float xstep)(Code) | | Sets the horizontal interval of this pattern.
Parameters: xstep - the xstep in horizontal painting |
setYStep | public void setYStep(float ystep)(Code) | | Sets the vertical interval of this pattern.
Parameters: ystep - in vertical painting |
Methods inherited from com.lowagie.text.pdf.PdfTemplate | public void beginVariableText()(Code)(Java Doc) public static PdfTemplate createTemplate(PdfWriter writer, float width, float height)(Code)(Java Doc) static PdfTemplate createTemplate(PdfWriter writer, float width, float height, PdfName forcedName)(Code)(Java Doc) public void endVariableText()(Code)(Java Doc) public Rectangle getBoundingBox()(Code)(Java Doc) public PdfContentByte getDuplicate()(Code)(Java Doc) PdfStream getFormXObject() throws IOException(Code)(Java Doc) public PdfTransparencyGroup getGroup()(Code)(Java Doc) public float getHeight()(Code)(Java Doc) public PdfIndirectReference getIndirectReference()(Code)(Java Doc) public PdfOCG getLayer()(Code)(Java Doc) PdfArray getMatrix()(Code)(Java Doc) PageResources getPageResources()(Code)(Java Doc) PdfObject getResources()(Code)(Java Doc) public int getType()(Code)(Java Doc) public float getWidth()(Code)(Java Doc) public void setBoundingBox(Rectangle bBox)(Code)(Java Doc) public void setGroup(PdfTransparencyGroup group)(Code)(Java Doc) public void setHeight(float height)(Code)(Java Doc) public void setLayer(PdfOCG layer)(Code)(Java Doc) public void setMatrix(float a, float b, float c, float d, float e, float f)(Code)(Java Doc) public void setWidth(float width)(Code)(Java Doc)
|
Methods inherited from com.lowagie.text.pdf.PdfContentByte | public void add(PdfContentByte other)(Code)(Java Doc) void addAnnotation(PdfAnnotation annot)(Code)(Java Doc) public void addImage(Image image) throws DocumentException(Code)(Java Doc) public void addImage(Image image, boolean inlineImage) throws DocumentException(Code)(Java Doc) public void addImage(Image image, float a, float b, float c, float d, float e, float f) throws DocumentException(Code)(Java Doc) public void addImage(Image image, float a, float b, float c, float d, float e, float f, boolean inlineImage) throws DocumentException(Code)(Java Doc) public void addOutline(PdfOutline outline)(Code)(Java Doc) public void addOutline(PdfOutline outline, String name)(Code)(Java Doc) public void addPSXObject(PdfPSXObject psobject)(Code)(Java Doc) public void addTemplate(PdfTemplate template, float a, float b, float c, float d, float e, float f)(Code)(Java Doc) public void addTemplate(PdfTemplate template, float x, float y)(Code)(Java Doc) void addTemplateReference(PdfIndirectReference template, PdfName name, float a, float b, float c, float d, float e, float f)(Code)(Java Doc) public void arc(float x1, float y1, float x2, float y2, float startAng, float extent)(Code)(Java Doc) public void beginLayer(PdfOCG layer)(Code)(Java Doc) public void beginMarkedContentSequence(PdfStructureElement struc)(Code)(Java Doc) public void beginMarkedContentSequence(PdfName tag, PdfDictionary property, boolean inline)(Code)(Java Doc) public void beginMarkedContentSequence(PdfName tag)(Code)(Java Doc) public void beginText()(Code)(Java Doc) public static ArrayList bezierArc(float x1, float y1, float x2, float y2, float startAng, float extent)(Code)(Java Doc) void checkNoPattern(PdfTemplate t)(Code)(Java Doc) protected void checkWriter()(Code)(Java Doc) public void circle(float x, float y, float r)(Code)(Java Doc) public void clip()(Code)(Java Doc) public void closePath()(Code)(Java Doc) public void closePathEoFillStroke()(Code)(Java Doc) public void closePathFillStroke()(Code)(Java Doc) public void closePathStroke()(Code)(Java Doc) public void concatCTM(float a, float b, float c, float d, float e, float f)(Code)(Java Doc) public PdfAppearance createAppearance(float width, float height)(Code)(Java Doc) PdfAppearance createAppearance(float width, float height, PdfName forcedName)(Code)(Java Doc) public java.awt.Graphics2D createGraphics(float width, float height)(Code)(Java Doc) public java.awt.Graphics2D createGraphics(float width, float height, boolean convertImagesToJPEG, float quality)(Code)(Java Doc) public java.awt.Graphics2D createGraphics(float width, float height, FontMapper fontMapper)(Code)(Java Doc) public java.awt.Graphics2D createGraphics(float width, float height, FontMapper fontMapper, boolean convertImagesToJPEG, float quality)(Code)(Java Doc) public java.awt.Graphics2D createGraphicsShapes(float width, float height)(Code)(Java Doc) public java.awt.Graphics2D createGraphicsShapes(float width, float height, boolean convertImagesToJPEG, float quality)(Code)(Java Doc) public PdfPatternPainter createPattern(float width, float height, float xstep, float ystep)(Code)(Java Doc) public PdfPatternPainter createPattern(float width, float height)(Code)(Java Doc) public PdfPatternPainter createPattern(float width, float height, float xstep, float ystep, Color color)(Code)(Java Doc) public PdfPatternPainter createPattern(float width, float height, Color color)(Code)(Java Doc) public java.awt.Graphics2D createPrinterGraphics(float width, float height, PrinterJob printerJob)(Code)(Java Doc) public java.awt.Graphics2D createPrinterGraphics(float width, float height, boolean convertImagesToJPEG, float quality, PrinterJob printerJob)(Code)(Java Doc) public java.awt.Graphics2D createPrinterGraphics(float width, float height, FontMapper fontMapper, PrinterJob printerJob)(Code)(Java Doc) public java.awt.Graphics2D createPrinterGraphics(float width, float height, FontMapper fontMapper, boolean convertImagesToJPEG, float quality, PrinterJob printerJob)(Code)(Java Doc) public java.awt.Graphics2D createPrinterGraphicsShapes(float width, float height, PrinterJob printerJob)(Code)(Java Doc) public java.awt.Graphics2D createPrinterGraphicsShapes(float width, float height, boolean convertImagesToJPEG, float quality, PrinterJob printerJob)(Code)(Java Doc) public PdfTemplate createTemplate(float width, float height)(Code)(Java Doc) PdfTemplate createTemplate(float width, float height, PdfName forcedName)(Code)(Java Doc) public void curveFromTo(float x1, float y1, float x3, float y3)(Code)(Java Doc) public void curveTo(float x1, float y1, float x2, float y2, float x3, float y3)(Code)(Java Doc) public void curveTo(float x2, float y2, float x3, float y3)(Code)(Java Doc) public void drawButton(float llx, float lly, float urx, float ury, String text, BaseFont bf, float size)(Code)(Java Doc) public void drawRadioField(float llx, float lly, float urx, float ury, boolean on)(Code)(Java Doc) public void drawTextField(float llx, float lly, float urx, float ury)(Code)(Java Doc) public void ellipse(float x1, float y1, float x2, float y2)(Code)(Java Doc) public void endLayer()(Code)(Java Doc) public void endMarkedContentSequence()(Code)(Java Doc) public void endText()(Code)(Java Doc) public void eoClip()(Code)(Java Doc) public void eoFill()(Code)(Java Doc) public void eoFillStroke()(Code)(Java Doc) static byte[] escapeString(byte b)(Code)(Java Doc) static void escapeString(byte b, ByteBuffer content)(Code)(Java Doc) public void fill()(Code)(Java Doc) public void fillStroke()(Code)(Java Doc) public float getCharacterSpacing()(Code)(Java Doc) public PdfContentByte getDuplicate()(Code)(Java Doc) public float getEffectiveStringWidth(String text, boolean kerned)(Code)(Java Doc) public float getHorizontalScaling()(Code)(Java Doc) public ByteBuffer getInternalBuffer()(Code)(Java Doc) public static PdfTextArray getKernArray(String text, BaseFont font)(Code)(Java Doc) public float getLeading()(Code)(Java Doc) PageResources getPageResources()(Code)(Java Doc) public PdfDocument getPdfDocument()(Code)(Java Doc) public PdfWriter getPdfWriter()(Code)(Java Doc) public PdfOutline getRootOutline()(Code)(Java Doc) public float getWordSpacing()(Code)(Java Doc) public float getXTLM()(Code)(Java Doc) public float getYTLM()(Code)(Java Doc) public void lineTo(float x, float y)(Code)(Java Doc) public boolean localDestination(String name, PdfDestination destination)(Code)(Java Doc) public void localGoto(String name, float llx, float lly, float urx, float ury)(Code)(Java Doc) public void moveText(float x, float y)(Code)(Java Doc) public void moveTextWithLeading(float x, float y)(Code)(Java Doc) public void moveTo(float x, float y)(Code)(Java Doc) public void newPath()(Code)(Java Doc) public void newlineShowText(String text)(Code)(Java Doc) public void newlineShowText(float wordSpacing, float charSpacing, String text)(Code)(Java Doc) public void newlineText()(Code)(Java Doc) void outputColorNumbers(Color color, float tint)(Code)(Java Doc) public void paintShading(PdfShading shading)(Code)(Java Doc) public void paintShading(PdfShadingPattern shading)(Code)(Java Doc) public void rectangle(float x, float y, float w, float h)(Code)(Java Doc) public void rectangle(Rectangle rectangle)(Code)(Java Doc) public void remoteGoto(String filename, String name, float llx, float lly, float urx, float ury)(Code)(Java Doc) public void remoteGoto(String filename, int page, float llx, float lly, float urx, float ury)(Code)(Java Doc) public void reset()(Code)(Java Doc) public void resetCMYKColorFill()(Code)(Java Doc) public void resetCMYKColorStroke()(Code)(Java Doc) public void resetGrayFill()(Code)(Java Doc) public void resetGrayStroke()(Code)(Java Doc) public void resetRGBColorFill()(Code)(Java Doc) public void resetRGBColorStroke()(Code)(Java Doc) public void restoreState()(Code)(Java Doc) public void roundRectangle(float x, float y, float w, float h, float r)(Code)(Java Doc) public void saveState()(Code)(Java Doc) public void setAction(PdfAction action, float llx, float lly, float urx, float ury)(Code)(Java Doc) public void setCMYKColorFill(int cyan, int magenta, int yellow, int black)(Code)(Java Doc) public void setCMYKColorFillF(float cyan, float magenta, float yellow, float black)(Code)(Java Doc) public void setCMYKColorStroke(int cyan, int magenta, int yellow, int black)(Code)(Java Doc) public void setCMYKColorStrokeF(float cyan, float magenta, float yellow, float black)(Code)(Java Doc) public void setCharacterSpacing(float charSpace)(Code)(Java Doc) public void setColorFill(Color color)(Code)(Java Doc) public void setColorFill(PdfSpotColor sp, float tint)(Code)(Java Doc) public void setColorStroke(Color color)(Code)(Java Doc) public void setColorStroke(PdfSpotColor sp, float tint)(Code)(Java Doc) public void setDefaultColorspace(PdfName name, PdfObject obj)(Code)(Java Doc) public void setFlatness(float flatness)(Code)(Java Doc) public void setFontAndSize(BaseFont bf, float size)(Code)(Java Doc) public void setGState(PdfGState gstate)(Code)(Java Doc) public void setGrayFill(float gray)(Code)(Java Doc) public void setGrayStroke(float gray)(Code)(Java Doc) public void setHorizontalScaling(float scale)(Code)(Java Doc) public void setLeading(float leading)(Code)(Java Doc) public void setLineCap(int style)(Code)(Java Doc) public void setLineDash(float phase)(Code)(Java Doc) public void setLineDash(float unitsOn, float phase)(Code)(Java Doc) public void setLineDash(float unitsOn, float unitsOff, float phase)(Code)(Java Doc) final public void setLineDash(float[] array, float phase)(Code)(Java Doc) public void setLineJoin(int style)(Code)(Java Doc) public void setLineWidth(float w)(Code)(Java Doc) public void setLiteral(String s)(Code)(Java Doc) public void setLiteral(char c)(Code)(Java Doc) public void setLiteral(float n)(Code)(Java Doc) public void setMiterLimit(float miterLimit)(Code)(Java Doc) public void setPatternFill(PdfPatternPainter p)(Code)(Java Doc) public void setPatternFill(PdfPatternPainter p, Color color)(Code)(Java Doc) public void setPatternFill(PdfPatternPainter p, Color color, float tint)(Code)(Java Doc) public void setPatternStroke(PdfPatternPainter p, Color color)(Code)(Java Doc) public void setPatternStroke(PdfPatternPainter p, Color color, float tint)(Code)(Java Doc) public void setPatternStroke(PdfPatternPainter p)(Code)(Java Doc) public void setRGBColorFill(int red, int green, int blue)(Code)(Java Doc) public void setRGBColorFillF(float red, float green, float blue)(Code)(Java Doc) public void setRGBColorStroke(int red, int green, int blue)(Code)(Java Doc) public void setRGBColorStrokeF(float red, float green, float blue)(Code)(Java Doc) public void setShadingFill(PdfShadingPattern shading)(Code)(Java Doc) public void setShadingStroke(PdfShadingPattern shading)(Code)(Java Doc) public void setTextMatrix(float a, float b, float c, float d, float x, float y)(Code)(Java Doc) public void setTextMatrix(float x, float y)(Code)(Java Doc) public void setTextRenderingMode(int rendering)(Code)(Java Doc) public void setTextRise(float rise)(Code)(Java Doc) public void setWordSpacing(float wordSpace)(Code)(Java Doc) public void showText(String text)(Code)(Java Doc) public void showText(PdfTextArray text)(Code)(Java Doc) public void showTextAligned(int alignment, String text, float x, float y, float rotation)(Code)(Java Doc) public void showTextAlignedKerned(int alignment, String text, float x, float y, float rotation)(Code)(Java Doc) public void showTextKerned(String text)(Code)(Java Doc) int size()(Code)(Java Doc) public void stroke()(Code)(Java Doc) public byte[] toPdf(PdfWriter writer)(Code)(Java Doc) public String toString()(Code)(Java Doc) public void transform(AffineTransform af)(Code)(Java Doc) public void variableRectangle(Rectangle rect)(Code)(Java Doc)
|
|
|