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
$domain
public
PdfArray
$domain
$generationNumber
public
int
$generationNumber
= 0
$objectNumber
public
int
$objectNumber
= 0
$range
public
PdfArray|null
$range
= null
Methods
getFunctionType()
public
abstract getFunctionType() : int
Return values
inttoIndirectObject()
Wrap the object in an indirect object structure: X Y obj ... endobj
public
toIndirectObject() : string
Return values
stringtoPdf()
Serialize the object's dictionary/value to PDF syntax.
public
abstract toPdf() : string
Return values
stringbaseDictionary()
protected
baseDictionary() : PdfDictionary