class final readonly Core · roukmoute/pdf 0.6.2
PDF\Document\Images\ImageDimensionsPixel dimensions, independent of the transformation used to paint the image.Inheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(int $width, int $height)Declared methods
pixels()
public function pixels(): introwBytes()
public function rowBytes(PDF\Document\Images\SampleLayout $layout): intRows start on byte boundaries; unused low bits of the last byte are padding.sampleBytes()
public function sampleBytes(PDF\Document\Images\SampleLayout $layout): intProperties
| Declaration | Origin and documentation |
|---|---|
public readonly int $height | PDF\Document\Images\ImageDimensions |
public readonly int $width | PDF\Document\Images\ImageDimensions |