com.lowagie.text.pdf

Class PdfFunction

public class PdfFunction extends Object

Implements PDF functions.

Author: Paulo Soares (psoares@consiste.pt)

Field Summary
protected PdfDictionarydictionary
protected PdfIndirectReferencereference
protected PdfWriterwriter
Constructor Summary
protected PdfFunction(PdfWriter writer)
Creates new PdfFunction
Method Summary
PdfIndirectReferencegetReference()
static PdfFunctiontype0(PdfWriter writer, float[] domain, float[] range, int[] size, int bitsPerSample, int order, float[] encode, float[] decode, byte[] stream)
static PdfFunctiontype2(PdfWriter writer, float[] domain, float[] range, float[] c0, float[] c1, float n)
static PdfFunctiontype3(PdfWriter writer, float[] domain, float[] range, PdfFunction[] functions, float[] bounds, float[] encode)
static PdfFunctiontype4(PdfWriter writer, float[] domain, float[] range, String postscript)

Field Detail

dictionary

protected PdfDictionary dictionary

reference

protected PdfIndirectReference reference

writer

protected PdfWriter writer

Constructor Detail

PdfFunction

protected PdfFunction(PdfWriter writer)
Creates new PdfFunction

Method Detail

getReference

PdfIndirectReference getReference()

type0

public static PdfFunction type0(PdfWriter writer, float[] domain, float[] range, int[] size, int bitsPerSample, int order, float[] encode, float[] decode, byte[] stream)

type2

public static PdfFunction type2(PdfWriter writer, float[] domain, float[] range, float[] c0, float[] c1, float n)

type3

public static PdfFunction type3(PdfWriter writer, float[] domain, float[] range, PdfFunction[] functions, float[] bounds, float[] encode)

type4

public static PdfFunction type4(PdfWriter writer, float[] domain, float[] range, String postscript)