phpdftk API Documentation

FunctionType2 extends Func
in package

Exponential interpolation function (FunctionType 2) — ISO 32000-2 §7.10.3.

Defines a function f(x) = C0 + x^N * (C1 - C0) over a 1-D domain. Used most commonly to define solid-to-solid color ramps for shadings.

Table of Contents

Properties

$c0  : PdfArray
$c1  : PdfArray
$domain  : PdfArray
$generationNumber  : int
$n  : float
$objectNumber  : int
$range  : PdfArray|null

Methods

__construct()  : mixed
getFunctionType()  : int
toIndirectObject()  : string
Wrap the object in an indirect object structure: X Y obj ... endobj
toPdf()  : string
Serialize the object's dictionary/value to PDF syntax.
baseDictionary()  : PdfDictionary

Properties

$generationNumber

public int $generationNumber = 0

Methods

getFunctionType()

public getFunctionType() : int
Return values
int

toIndirectObject()

Wrap the object in an indirect object structure: X Y obj ... endobj

public toIndirectObject() : string
Return values
string

toPdf()

Serialize the object's dictionary/value to PDF syntax.

public toPdf() : string
Return values
string

        
On this page

Search results