com.lowagie.text.pdf
public class PdfShading extends Object
Field Summary | |
---|---|
protected boolean | antiAlias Holds value of property antiAlias. |
protected float[] | bBox Holds value of property bBox. |
protected ColorDetails | colorDetails |
Color | cspace |
protected PdfDictionary | shading |
protected PdfName | shadingName |
protected PdfIndirectReference | shadingReference |
protected int | shadingType |
protected PdfWriter | writer |
Constructor Summary | |
---|---|
protected | PdfShading(PdfWriter writer) Creates new PdfShading |
Method Summary | |
---|---|
void | addToBody() |
static void | checkCompatibleColors(Color c1, Color c2) |
float[] | getBBox() |
static float[] | getColorArray(Color color) |
ColorDetails | getColorDetails() |
Color | getColorSpace() |
PdfName | getShadingName() |
PdfIndirectReference | getShadingReference() |
PdfWriter | getWriter() |
boolean | isAntiAlias() |
void | setAntiAlias(boolean antiAlias) |
void | setBBox(float[] bBox) |
protected void | setColorSpace(Color color) |
void | setName(int number) |
static PdfShading | simpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, Color startColor, Color endColor, boolean extendStart, boolean extendEnd) |
static PdfShading | simpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, Color startColor, Color endColor) |
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) |
static PdfShading | simpleRadial(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, Color startColor, Color endColor) |
static void | throwColorSpaceError() |
static PdfShading | type1(PdfWriter writer, Color colorSpace, float[] domain, float[] tMatrix, PdfFunction function) |
static PdfShading | type2(PdfWriter writer, Color colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend) |
static PdfShading | type3(PdfWriter writer, Color colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend) |