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
$c0
public
PdfArray
$c0
$c1
public
PdfArray
$c1
$domain
public
PdfArray
$domain
$generationNumber
public
int
$generationNumber
= 0
$n
public
float
$n
$objectNumber
public
int
$objectNumber
= 0
$range
public
PdfArray|null
$range
= null
Methods
__construct()
public
__construct(PdfArray $domain, PdfArray $c0, PdfArray $c1[, float $n = 1.0 ]) : mixed
Parameters
getFunctionType()
public
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
toPdf() : string
Return values
stringbaseDictionary()
protected
baseDictionary() : PdfDictionary