* @param functionType An integer describing the function type, only 0,2,3,4
* are defined by the PDF sepc.
*/
protected PDStreamFunction( PDDocument doc, int functionType )
{
function = new PDStream( doc );
function.getStream().setInt( "FunctionType", functionType );
}