ShadingType1
extends Shading
in package
Function-based shading (ShadingType 1) — ISO 32000-2 §8.7.4.5.2.
Shades the interior of its BBox using a 2-in, N-out function.
Table of Contents
Properties
- $antiAlias : bool|null
- $background : PdfArray|null
- $bbox : PdfArray|null
- $colorSpace : ColorSpace|PdfName|PdfArray
- $domain : PdfArray|null
- $function : PdfReference|PdfArray
- $generationNumber : int
- $matrix : PdfArray|null
- $objectNumber : int
Methods
- __construct() : mixed
- getShadingType() : 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
$antiAlias
public
bool|null
$antiAlias
= null
$background
public
PdfArray|null
$background
= null
$bbox
public
PdfArray|null
$bbox
= null
$colorSpace
public
ColorSpace|PdfName|PdfArray
$colorSpace
$domain
public
PdfArray|null
$domain
= null
$function
public
PdfReference|PdfArray
$function
$generationNumber
public
int
$generationNumber
= 0
$matrix
public
PdfArray|null
$matrix
= null
$objectNumber
public
int
$objectNumber
= 0
Methods
__construct()
public
__construct(ColorSpace|PdfName|PdfArray $colorSpace, PdfReference|PdfArray $function) : mixed
Parameters
- $colorSpace : ColorSpace|PdfName|PdfArray
- $function : PdfReference|PdfArray
getShadingType()
public
getShadingType() : 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