class final readonly Optional · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Drawing\ImageInheritance and contracts
Interfaces : PDF\HtmlToPdf\Drawing\Command
Construction
__construct()
public function __construct(float $x, float $y, float $width, float $height, PDF\HtmlToPdf\Resource\ImageAsset $asset, ?string $semanticId = null)Properties
| Declaration | Origin and documentation |
|---|---|
public readonly PDF\HtmlToPdf\Resource\ImageAsset $asset | PDF\HtmlToPdf\Drawing\Image |
public readonly float $height | PDF\HtmlToPdf\Drawing\Image |
public readonly ?string $semanticId | PDF\HtmlToPdf\Drawing\Image |
public readonly float $width | PDF\HtmlToPdf\Drawing\Image |
public readonly float $x | PDF\HtmlToPdf\Drawing\Image |
public readonly float $y | PDF\HtmlToPdf\Drawing\Image |