ShadingType6
extends MeshShading
in package
Coons patch mesh (ShadingType 6) — ISO 32000-2 §8.7.4.5.7.
Table of Contents
Properties
- $antiAlias : bool|null
- $background : PdfArray|null
- $bbox : PdfArray|null
- $bitsPerComponent : int
- $bitsPerCoordinate : int
- $bitsPerFlag : int
- $colorSpace : ColorSpace|PdfName|PdfArray
- $data : string
- $decode : PdfArray
- $dictionary : PdfDictionary
- $function : PdfReference|PdfArray|null
- $generationNumber : int
- $objectNumber : int
Methods
- __construct() : mixed
- getShadingType() : int
- setFilter() : void
- Set a filter to encode/decode the stream data.
- toIndirectObject() : string
- Wrap the object in an indirect object structure: X Y obj ... endobj
- toPdf() : string
- Returns the stream body: dictionary, stream keyword, data, endstream.
- populateCommon() : void
Properties
$antiAlias
public
bool|null
$antiAlias
= null
$background
public
PdfArray|null
$background
= null
$bbox
public
PdfArray|null
$bbox
= null
$bitsPerComponent
public
int
$bitsPerComponent
$bitsPerCoordinate
public
int
$bitsPerCoordinate
$bitsPerFlag
public
int
$bitsPerFlag
$colorSpace
public
ColorSpace|PdfName|PdfArray
$colorSpace
$data
public
string
$data
= ''
$decode
public
PdfArray
$decode
$dictionary
public
PdfDictionary
$dictionary
$function
public
PdfReference|PdfArray|null
$function
= null
$generationNumber
public
int
$generationNumber
= 0
$objectNumber
public
int
$objectNumber
= 0
Methods
__construct()
public
__construct(ColorSpace|PdfName|PdfArray $colorSpace, int $bitsPerCoordinate, int $bitsPerComponent, int $bitsPerFlag, PdfArray $decode[, string $meshData = '' ]) : mixed
Parameters
- $colorSpace : ColorSpace|PdfName|PdfArray
- $bitsPerCoordinate : int
- $bitsPerComponent : int
- $bitsPerFlag : int
- $decode : PdfArray
- $meshData : string = ''
getShadingType()
public
getShadingType() : int
Return values
intsetFilter()
Set a filter to encode/decode the stream data.
public
setFilter(FilterInterface $filter, string $pdfFilterName) : void
Parameters
- $filter : FilterInterface
-
The filter implementation
- $pdfFilterName : string
-
The PDF filter name (e.g. 'FlateDecode', 'ASCII85Decode')
toIndirectObject()
Wrap the object in an indirect object structure: X Y obj ... endobj
public
toIndirectObject() : string
Return values
stringtoPdf()
Returns the stream body: dictionary, stream keyword, data, endstream.
public
toPdf() : string
/Length is injected into the dictionary at serialization time. If a filter is set, the data is encoded before writing.
Return values
stringpopulateCommon()
protected
populateCommon() : void