Skip to content

Commit 4613770

Browse files
committed
Add PdfParameters to ImageParameters
1 parent 341e655 commit 4613770

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

lib/Generation.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7018,6 +7018,7 @@ private function setImageParametersDto(ImageParametersDTO $imageParametersDto):
70187018
}
70197019

70207020
private $svg;
7021+
private $pdf;
70217022

70227023
function __construct(ImageParametersDTO $imageParametersDto)
70237024
{
@@ -7033,6 +7034,7 @@ public function obtainDto(...$args)
70337034
public function initFieldsFromDto(): void
70347035
{
70357036
$this->svg = new SvgParameters($this->getImageParametersDto()->svg);
7037+
$this->pdf = new PdfParameters($this->getImageParametersDto()->pdf);
70367038
}
70377039

70387040
/**
@@ -7051,6 +7053,26 @@ function setSvg(SvgParameters $svg) : void
70517053
$this->svg = $svg;
70527054
$this->getImageParametersDto()->svg = $svg->getSvgParametersDto();
70537055
}
7056+
7057+
/**
7058+
* <p>
7059+
* PDF parameters
7060+
* </p>
7061+
*/
7062+
function getPdf()
7063+
{
7064+
return $this->pdf;
7065+
}
7066+
/**
7067+
* <p>
7068+
* PDF parameters
7069+
* </p>
7070+
*/
7071+
function setPdf(PdfParameters $value)
7072+
{
7073+
$this->pdf = $value;
7074+
$this->getImageParametersDto()->pdf = $value->getPdfParametersDto();
7075+
}
70547076
}
70557077

70567078
/**

0 commit comments

Comments
 (0)