Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » pdf » [javadoc | source]
com.lowagie.text.pdf
public class: PdfShading [javadoc | source]
java.lang.Object
   com.lowagie.text.pdf.PdfShading
Implements the shading dictionary (or stream).
Field Summary
protected  PdfDictionary shading     
protected  PdfWriter writer     
protected  int shadingType     
protected  ColorDetails colorDetails     
protected  PdfName shadingName     
protected  PdfIndirectReference shadingReference     
protected  float[] bBox    Holds value of property bBox. 
protected  boolean antiAlias    Holds value of property antiAlias. 
Constructor:
 protected PdfShading(PdfWriter writer) 
    Creates new PdfShading
Method from com.lowagie.text.pdf.PdfShading Summary:
addToBody,   checkCompatibleColors,   getBBox,   getColorArray,   getColorDetails,   getColorSpace,   getShadingName,   getShadingReference,   getWriter,   isAntiAlias,   setAntiAlias,   setBBox,   setColorSpace,   setName,   simpleAxial,   simpleAxial,   simpleRadial,   simpleRadial,   throwColorSpaceError,   type1,   type2,   type3
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.pdf.PdfShading Detail:
  void addToBody() throws IOException 
 public static  void checkCompatibleColors(Color c1,
    Color c2) 
 public float[] getBBox() 
 public static float[] getColorArray(Color color) 
 ColorDetails getColorDetails() 
 public Color getColorSpace() 
 PdfName getShadingName() 
 PdfIndirectReference getShadingReference() 
 PdfWriter getWriter() 
 public boolean isAntiAlias() 
 public  void setAntiAlias(boolean antiAlias) 
 public  void setBBox(float[] bBox) 
 protected  void setColorSpace(Color color) 
  void setName(int number) 
 public static PdfShading simpleAxial(PdfWriter writer,
    float x0,
    float y0,
    float x1,
    float y1,
    Color startColor,
    Color endColor) 
 public static PdfShading simpleAxial(PdfWriter writer,
    float x0,
    float y0,
    float x1,
    float y1,
    Color startColor,
    Color endColor,
    boolean extendStart,
    boolean extendEnd) 
 public static PdfShading simpleRadial(PdfWriter writer,
    float x0,
    float y0,
    float r0,
    float x1,
    float y1,
    float r1,
    Color startColor,
    Color endColor) 
 public static PdfShading simpleRadial(PdfWriter writer,
    float x0,
    float y0,
    float r0,
    float x1,
    float y1,
    float r1,
    Color startColor,
    Color endColor,
    boolean extendStart,
    boolean extendEnd) 
 public static  void throwColorSpaceError() 
 public static PdfShading type1(PdfWriter writer,
    Color colorSpace,
    float[] domain,
    float[] tMatrix,
    PdfFunction function) 
 public static PdfShading type2(PdfWriter writer,
    Color colorSpace,
    float[] coords,
    float[] domain,
    PdfFunction function,
    boolean[] extend) 
 public static PdfShading type3(PdfWriter writer,
    Color colorSpace,
    float[] coords,
    float[] domain,
    PdfFunction function,
    boolean[] extend)