class final Core · roukmoute/pdf 0.6.2
PDF\Graphics\Patterns\Shadings\FreeFormGouraudShadingType 4 mesh, with encoded complete triangles and previous-edge connections.Inheritance and contracts
Parent : PDF\Graphics\Patterns\Shadings\MeshShading
Interfaces : PDF\Document\VersionedComponent, PDF\Graphics\Patterns\Shadings\ShadingObject, PDF\Syntax\FileStructure\BasicType, Stringable
Construction
__construct()
public function __construct(PDF\Graphics\ColourSpaces\ColourSpace $space, PDF\Graphics\Patterns\Shadings\FreeFormMesh $mesh, PDF\Graphics\Patterns\Shadings\MeshFormat $format, ?PDF\Graphics\Patterns\Shadings\ShadingFunctions $functions = null, PDF\Graphics\Patterns\Shadings\ShadingOptions $options = new ShadingOptions(), PDF\Syntax\Filters\Filter ...$filters)Inherited methods
7 methods from parents and contracts
__toString()
public function __toString(): stringbytes()
public function bytes(PDF\Serialization\SerializationContext $context): stringcolourSpace()
public function colourSpace(): PDF\Graphics\ColourSpaces\ColourSpacedictionary()
public function dictionary(): PDF\Syntax\Object\DictionaryTypeshadingType()
public function shadingType(): inttoPdf()
public function toPdf(PDF\Serialization\SerializationContext $context): stringvalidateVersion()
public function validateVersion(PDF\Syntax\FileStructure\EffectivePdfVersion $version): voidProperties
| Declaration | Origin and documentation |
|---|---|
public readonly PDF\Syntax\ContentStreamsResources\ContentStreams|string $data | PDF\Syntax\Object\StreamObject |
public readonly array $filters | PDF\Syntax\Object\StreamObject@var list<Filter> |
public readonly PDF\Graphics\Patterns\Shadings\FreeFormMesh $mesh | PDF\Graphics\Patterns\Shadings\FreeFormGouraudShading |