org.pdfbox.pdmodel.common.function

Class PDFunctionType4

Implemented Interfaces:
COSObjectable

public class PDFunctionType4
extends PDStreamFunction

This class represents a type 4 function in a PDF document.
Version:
$Revision: 1.2 $
Author:
Ben Litchfield

Constructor Summary

PDFunctionType4(PDDocument doc)
Constructor to create a new blank type 4 function.
PDFunctionType4(PDStream functionDictionary)
Constructor.

Method Summary

Methods inherited from class org.pdfbox.pdmodel.common.function.PDStreamFunction

getCOSObject, getCOSStream, getDomainForInput, getNumberOfInputParameters, getNumberOfOutputParameters, getRangeForOutput, setDomainForInput, setRangeForOutput

Methods inherited from class org.pdfbox.pdmodel.common.function.PDFunction

create, getDomainForInput, getNumberOfInputParameters, getNumberOfOutputParameters, getRangeForOutput, setDomainForInput, setRangeForOutput

Constructor Details

PDFunctionType4

protected PDFunctionType4(PDDocument doc)
Constructor to create a new blank type 4 function.
Parameters:
doc - The document that the function will be part of.

PDFunctionType4

public PDFunctionType4(PDStream functionDictionary)
Constructor.
Parameters:
functionDictionary - The prepopulated function dictionary.