phpdftk API Documentation

Func extends PdfObject
in package

AbstractYes

Abstract base for PDF function objects (ISO 32000-2 §7.10).

Named Func rather than Function since function is a PHP keyword. Subclasses are FunctionType0 (sampled), Type2 (exponential), Type3 (stitching), and Type4 (PostScript calculator).

Common entries across all function types: FunctionType, Domain, Range.

Attributes
#[RequiresPdfVersion]
\Phpdftk\Pdf\Core\PdfVersion::V1_3

Table of Contents

Properties

$domain  : PdfArray
$generationNumber  : int
$objectNumber  : int
$range  : PdfArray|null

Methods

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 abstract 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 abstract toPdf() : string
Return values
string

        
On this page

Search results