Package com.lowagie.text.pdf
Class PdfShading
java.lang.Object
com.lowagie.text.pdf.PdfShading
Deprecated.
Implements the shading dictionary (or stream).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanDeprecated.Holds value of property antiAlias.protected float[]Deprecated.Holds value of property bBox.protected ColorDetailsDeprecated.private ColorDeprecated.protected PdfDictionaryDeprecated.protected PdfNameDeprecated.protected PdfIndirectReferenceDeprecated.protected intDeprecated.protected PdfWriterDeprecated. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPdfShading(PdfWriter writer) Deprecated.Creates new PdfShading -
Method Summary
Modifier and TypeMethodDescription(package private) voidDeprecated.static voidcheckCompatibleColors(Color c1, Color c2) Deprecated.float[]getBBox()Deprecated.static float[]getColorArray(Color color) Deprecated.(package private) ColorDetailsDeprecated.Deprecated.(package private) PdfNameDeprecated.(package private) PdfIndirectReferenceDeprecated.(package private) PdfWriterDeprecated.booleanDeprecated.voidsetAntiAlias(boolean antiAlias) Deprecated.voidsetBBox(float[] bBox) Deprecated.protected voidsetColorSpace(Color color) Deprecated.(package private) voidsetName(int number) Deprecated.static PdfShadingsimpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, Color startColor, Color endColor) Deprecated.static PdfShadingsimpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, Color startColor, Color endColor, boolean extendStart, boolean extendEnd) Deprecated.static PdfShadingsimpleRadial(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, Color startColor, Color endColor) Deprecated.static PdfShadingsimpleRadial(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, Color startColor, Color endColor, boolean extendStart, boolean extendEnd) Deprecated.static voidDeprecated.static PdfShadingtype1(PdfWriter writer, Color colorSpace, float[] domain, float[] tMatrix, PdfFunction function) Deprecated.static PdfShadingtype2(PdfWriter writer, Color colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend) Deprecated.static PdfShadingtype3(PdfWriter writer, Color colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend) Deprecated.
-
Field Details
-
shading
Deprecated. -
writer
Deprecated. -
shadingType
protected int shadingTypeDeprecated. -
colorDetails
Deprecated. -
shadingName
Deprecated. -
shadingReference
Deprecated. -
bBox
protected float[] bBoxDeprecated.Holds value of property bBox. -
antiAlias
protected boolean antiAliasDeprecated.Holds value of property antiAlias. -
cspace
Deprecated.
-
-
Constructor Details
-
PdfShading
Deprecated.Creates new PdfShading- Parameters:
writer- the PdfWriter
-
-
Method Details
-
throwColorSpaceError
public static void throwColorSpaceError()Deprecated. -
checkCompatibleColors
Deprecated. -
getColorArray
Deprecated. -
type1
public static PdfShading type1(PdfWriter writer, Color colorSpace, float[] domain, float[] tMatrix, PdfFunction function) Deprecated. -
type2
public static PdfShading type2(PdfWriter writer, Color colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend) Deprecated. -
type3
public static PdfShading type3(PdfWriter writer, Color colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend) Deprecated. -
simpleAxial
public static PdfShading simpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, Color startColor, Color endColor, boolean extendStart, boolean extendEnd) Deprecated. -
simpleAxial
public static PdfShading simpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, Color startColor, Color endColor) Deprecated. -
simpleRadial
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) Deprecated. -
simpleRadial
public static PdfShading simpleRadial(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, Color startColor, Color endColor) Deprecated. -
getColorSpace
Deprecated. -
setColorSpace
Deprecated. -
getShadingName
PdfName getShadingName()Deprecated. -
getShadingReference
PdfIndirectReference getShadingReference()Deprecated. -
setName
void setName(int number) Deprecated. -
addToBody
Deprecated.- Throws:
IOException
-
getWriter
PdfWriter getWriter()Deprecated. -
getColorDetails
ColorDetails getColorDetails()Deprecated. -
getBBox
public float[] getBBox()Deprecated. -
setBBox
public void setBBox(float[] bBox) Deprecated. -
isAntiAlias
public boolean isAntiAlias()Deprecated. -
setAntiAlias
public void setAntiAlias(boolean antiAlias) Deprecated.
-